Sign in with
Sign up | Sign in
Your question

how to check if synchronization check box is checked

Last response: in Windows XP
Share
Anonymous
December 17, 2004 7:58:45 PM

Archived from groups: microsoft.public.windowsxp.customize (More info?)

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
Anonymous
December 17, 2004 8:14:28 PM

Archived from groups: microsoft.public.windowsxp.customize (More info?)

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://msdn.microsoft.com/library/default.asp?url=/libr...

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


"deepakkumar" <deepakkumar@epiance.com> wrote in message news:eHD9XpC5EHA.3236@TK2MSFTNGP15.phx.gbl...
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
!