PDA

Click to See Complete Forum and Search --> : Set Time & Date


Aug 1st, 2000, 12:01 PM
How can I call the System Time & Date property dialog box on Win NT through VB6 ?? Thanks

Dim
Aug 2nd, 2000, 01:33 AM
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

Aug 2nd, 2000, 05:09 PM
Try.


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

Dim
Aug 3rd, 2000, 12:02 AM
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.