how to check if synchronization check box is checked

how to check if synchronization check box is checked

Post by deepakkuma » Sat, 18 Dec 2004 20:28:45


hi all,
this is my first post to any newsgroup

In Win XP in Date/Time there is tab named Internet Time.
in that a check box is provided to synchronize the system time with the
server.
i want to know how do i check if this check box ix checked or not from VB.

regards,
deepak
 
 
 

how to check if synchronization check box is checked

Post by Ramesh [MV » Sat, 18 Dec 2004 20:44:28

Hi Deepak,

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
In the right-pane, if "Type" is set to "NoSync", then the option is unchecked.

Query for that registry value in VB.

Scripting - RegRead Method:
http://www.yqcomputer.com/

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://www.yqcomputer.com/



hi all,
this is my first post to any newsgroup

In Win XP in Date/Time there is tab named Internet Time.
in that a check box is provided to synchronize the system time with the
server.
i want to know how do i check if this check box ix checked or not from VB.

regards,
deepak