Results 1 to 4 of 4

Thread: Set Time & Date

  1. #1
    Guest
    How can I call the System Time & Date property dialog box on Win NT through VB6 ?? Thanks

  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    Code:
    Date = Text1.Text
    Time = Text2.Text
    Just make sure to put them in correct format:
    Date = month/day/year
    Time = Hour:Min:Sec:

    Gl,
    D!m
    Dim

  3. #3
    Guest
    Try.

    Code:
    Shell "rundll32.exe shell32.dll,Control_RunDLL timedate.cpl", vbNormalFocus

  4. #4
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    I'm a bit slow, i didn't see you asking for the BOX, i thought you just wanted to changes the date in vb Sorry.
    Dim

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width