patricksd
asked on
How to set the system date and time on a Pocket PC within eVB program?
I want to be able to program the system date and time within my eVB program, as opposed to shelling out to settings/clock. I don't care about the interface, just the commands to set the system date/time and what the variable format needs to be in. It seems like a simple task, but I couldn't find any reference to do this. Any ideas?
oops, minor typo:
Date = #12/30/2001# ' set the Date to Dec 30, 2001
Date = #12/30/2001# ' set the Date to Dec 30, 2001
ASKER
I tried that already thinking it was so obvious, but I get an - Illegal assignment: 'Date' error. What am I doing wrong?
maybe that was removed as a potentail 'loophole' in eVB. Worth a shot.
AW
AW
Hello Patrick, I'm looking for the same solution, have you found one yet?
ASKER
No solution, as I am guessing it can't be done.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Date = #12/30/2001" set the Date to Dec 30, 2001
You can also do this with Now
Now = #12/30/2001 12:00:00PM#