p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Pro VB.NET 2002/2003 (http://p2p.wrox.com/forumdisplay.php?f=74)
-   -   How can I set system time & date in VB.net ? (http://p2p.wrox.com/showthread.php?t=57187)

mike123abc April 27th, 2007 02:24 AM

How can I set system time & date in VB.net ?
 
Does anyone know ? It seems a (stupid) simple question, yet browsing the Internet produced no useful answer. ????

One guy suggested using the good old APIs. If this is the only way, I'll switch sides and become a Linux/C++ developer [8D].

Mike



BrianWren April 27th, 2007 10:00 AM

What do you have against APIs? They can really be helpful.

But you might try:
Code:

    Shell "Time 8:12a"
[edit]
See http://msdn2.microsoft.com/en-us/library/ms724942.aspx


All times are GMT -4. The time now is 03:34 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.