User Profile
Collapse
Profile Sidebar
Collapse
Marren02
Banned
Last Activity: Oct 22 '08, 08:16 AM
Joined: Oct 3 '07
Location:
-
One is not amused -.- -
Editing/Creating a database within a Vb.net form... please stop the criticism!
Please answer my question and stop flaming my posts >:(...Leave a comment:
-
I aint hiring... if i were I'd be telling YOU what to do, I'm only telling YOU what I want, there aint no difference man!...Leave a comment:
-
*grumbles* C++ *murmers* lousy design view *more grummbling...* my opinion... grr.... *mubling* frosties are grrrrrrrrrrrrrr reat!...Leave a comment:
-
... Its not just that... I want the code and the ways of doing it... I've only just switched to VB.NET it can be annoying when you have no idea what you are doing!
I'm intending it for form data... however I could use it for other "necessitie s"...Leave a comment:
-
The Save/Load Function in vb.net
Hi, I recently just unsubscribed my other thread due to the fact that it went against the posting regulations...
If you feel offended by what I posted, I apologize
I need Code for a save button... this save button must be able to...
---save data!
---must have a save as function...obvi ously due to the fact that some data might be new
---Explore the windows directory as default
I therefore... -
-
to be fair the rules don't say I can't use capital letters so what I have put isn't rude- if you want, I could delete that text however it seems kinda pointless now......Leave a comment:
-
If you want to state rules relevent to what has been said you should include it in the sticky and not just expect everyone to check what you have said on the posting regulations... no offense but I just simply registered regardless of what you put on there if you really want me to be polite then say so on the sticky or actually show me a sticky on every section of the forums if I wanted to join a forums site which doesn't have a sticky saying so,...Leave a comment:
-
occording to your sticky ON THE .NET FORUMS it says I have to state what I want... no offence but it doesLeave a comment:
-
...How do I........ make a save / load button
Hi,
I have looked on the internet for quite some time concerning this issue
The problem is loads and loads and loads of people use their examples instead of simply stating what code you use heres what I want:
Code for a save button
---
---
---
---
Code for a load button
---
---
---
---
Different ways I could implement the save or load... -
Note: This function uses a text box!
Okay... basically it should go like this... the user presses the play button
the user then is asked to enter his/her date of birth
then asked to enter it again
and again
and again
and again
and again
and again
this means that the same date is entered 7 times... why? Because, the code would be to complicated to understand otherwise!...Leave a comment:
-
Yes this might be the case, however it will not work regardless of whether you put this because the now command doesn't work...the reason being after a while of use the now command's variable has changed due to your clock... which it can't keep up with. Obviously the creators never fixed this problem in other words VB6.0 is a programmer's worst nightmare when it comes to the now command because it simply refuses to co-operate with the user....Leave a comment:
-
The Now Command Doesn't Work Correctly!
I found out why its been doing this... the now command seems to have a problem... you see at first it worked but after a while, no matter what date you put the now date will think that it is working out a different date all together so basically its fixed around a diffence which the user can't change which is a problem because no matter how many times you change the code it wont work!
...Leave a comment:
-
[CODE=vb]Private Sub Form_Activate()
EnterDate = LineIn("Please enter your date of birth in number form only e.g. 20/07/1991")
TheAge = Int(DateDiff(Mo nth, EnterDate, Now) / 12)
Display ("You are " & TheAge & " Years old")
End Sub
Private Sub txtDisplay_KeyP ress(KeyAscii As Integer)
Call KBDBuffer(KeyAs cii)
End Sub[/CODE]
This code does not...Last edited by Killer42; Oct 5 '07, 10:58 PM.Leave a comment:
-
Ok... we got something right here but now we got a problem
Below is the code for the form
[CODE=vb]Private Sub Form_Activate()
GetAge = DateDiff("YYYY" , Birthday, Now)
Birthday = LineIn("Please enter your date of birth in number form only e.g. 20/07/91")
If Month(Birthday) = Month(Now) Then
If Day(Birthday) > Day(Now) Then
GetAge = GetAge - 1
End...Last edited by Killer42; Oct 5 '07, 10:55 PM.Leave a comment:
-
h person
----------------------------
what do you mean?
Other person
-----------------------------------
Don't think theres a way to contact this website
--------------------------------------------------------------------
I'm trying to get a code whereby the user simply enters his or her date of birth and basically it will display his or her age and may also have other things added...Leave a comment:
-
[code=vb]
Public Function GetAge(ByVal Birthdate As Date) As Long
On Error GoTo errExc
Dim CurrentDate As Date ' System.DateTime = System.DateTime .Today
CurrentDate = Format(Now, "dd/MM/yyyy")
Select Case Month(Birthdate )
Case Is < Month(CurrentDa te)
Age = DateDiff("YYYY" , Birthdate, Now)
Case Is = Month(CurrentDa te)
Select Case...Leave a comment:
-
Then why on the website I used does it say it's Visual Basic code?
http://www.codewidgets.com/product.aspx?key=24
Look under widget info it says clearly in black and white under Microsoft Access 2000/XP Visual Basic 6.0...Leave a comment:
-
The version I am using is VB 6.0
I have tried examples from the web which suprisingly don't work like:
[CODE=vbnet]Public Function Age(ByVal Birthdate As System.DateTime ) As Long
Try
Dim CurrentDate As System.DateTime = System.DateTime .Today
Select Case Month(Birthdate )
Case Is < Month(System.Da teTime.Today)
Age = DateDiff("YYYY" , Birthdate, Now())
Case...Leave a comment:
No activity results to display
Show More
Leave a comment: