Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to change the system through VB 1

Status
Not open for further replies.

nwb1

Programmer
Apr 28, 2004
39
GB
Is there a way to change the system date to a user selected date (through DTPicker control) in VB?
Thanks
 
Try:

Date = DTPicker1.Value

"Two strings walk into a bar. The first string says to the bartender: 'Bartender, I'll have a beer. u.5n$x5t?*&4ru!2[sACC~ErJ'. The second string says: 'Pardon my friend, he isn't NULL terminated'."
 
Ohhh, its that simple!
Thanks
 
It's very easy to do, but you may need to consider the implications for your clients other apps, which may take input from System date. This may include timed license agreements as well as stuff like accounts packages.

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top