User Profile

Collapse

Profile Sidebar

Collapse
Marren02
Marren02
Banned
Last Activity: Oct 22 '08, 08:16 AM
Joined: Oct 3 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Marren02
    replied to The Save/Load Function in vb.net
    in .NET
    One is not amused -.-
    See more | Go to post

    Leave a comment:


  • Marren02
    replied to The Save/Load Function in vb.net
    in .NET
    Editing/Creating a database within a Vb.net form... please stop the criticism!



    Please answer my question and stop flaming my posts >:(...
    See more | Go to post

    Leave a comment:


  • Marren02
    replied to The Save/Load Function in vb.net
    in .NET
    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!...
    See more | Go to post

    Leave a comment:


  • Marren02
    replied to The Save/Load Function in vb.net
    in .NET
    *grumbles* C++ *murmers* lousy design view *more grummbling...* my opinion... grr.... *mubling* frosties are grrrrrrrrrrrrrr reat!...
    See more | Go to post

    Leave a comment:


  • Marren02
    replied to The Save/Load Function in vb.net
    in .NET
    ... 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"...
    See more | Go to post

    Leave a comment:


  • Marren02
    started a topic The Save/Load Function in vb.net
    in .NET

    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...
    See more | Go to post
    Last edited by Marren02; Oct 21 '08, 02:22 PM. Reason: Meh...just seems a little too formal

  • I'll keep in mind what you have said thanks......
    See more | Go to post

    Leave a comment:


  • 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......
    See more | Go to post

    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,...
    See more | Go to post

    Leave a comment:


  • occording to your sticky ON THE .NET FORUMS it says I have to state what I want... no offence but it does
    See more | Go to post

    Leave a comment:


  • Marren02
    started a topic ...How do I........ make a save / load button
    in .NET

    ...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...
    See more | Go to post

  • Marren02
    replied to Problems with the age function
    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!...
    See more | Go to post

    Leave a comment:


  • Marren02
    replied to Problems with the age function
    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....
    See more | Go to post
    Last edited by Marren02; Oct 25 '07, 06:04 PM. Reason: i spelt regardless wrong lol!

    Leave a comment:


  • Marren02
    replied to Problems with the age function
    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!
    ...
    See more | Go to post
    Last edited by Marren02; Oct 25 '07, 05:57 PM. Reason: because it wasn't readable

    Leave a comment:


  • Marren02
    replied to Problems with the age function
    [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...
    See more | Go to post
    Last edited by Killer42; Oct 5 '07, 10:58 PM.

    Leave a comment:


  • Marren02
    replied to Problems with the age function
    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...
    See more | Go to post
    Last edited by Killer42; Oct 5 '07, 10:55 PM.

    Leave a comment:


  • Marren02
    replied to Problems with the age function
    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...
    See more | Go to post

    Leave a comment:


  • Marren02
    replied to Problems with the age function
    [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...
    See more | Go to post

    Leave a comment:


  • Marren02
    replied to Problems with the age function
    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...
    See more | Go to post

    Leave a comment:


  • Marren02
    replied to Problems with the age function
    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...
    See more | Go to post
    Last edited by debasisdas; Oct 3 '07, 10:32 AM. Reason: Formatted using code tags.

    Leave a comment:

No activity results to display
Show More
Working...