how to check if synchronization check box is checked

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
1 answer Last reply
More about check synchronization check checked
  1. 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=/library/en-us/script56/html/wsmthregread.asp

    --
    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
Ask a new question

Read More

Configuration Customization Windows XP