Re: Update clock in tray after SetSystemTime
- From: "Randy Birch" <rgb_removethis@xxxxxxxx>
- Date: Sun, 10 Apr 2005 00:22:41 -0400
I know you said you're using Win98, but FWIW I can't repro that on Windows
2000 or Windows XP using the code from
http://vbnet.mvps.org/code/network/winsocksynctime.htm - the clock
immediately reflects the time change.
--
Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/
----------------------------------------------------------------------------
Read. Decide. Sign the petition to Microsoft.
http://classicvb.org/petition/
----------------------------------------------------------------------------
"Terry S" <tms@xxxxxxxxxxxx> wrote in message
news:1113102940.422396.114930@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
:I have an app to synchronize a Win98 PC's clock to an NNTP server using
: WinInet API's and then setting the clock with SetSystemTime. Works
: fine, but the clock in the systray doesn't get updated to the sync'ed
: time unless one opens the Date/Time Properties window. Currently, I
: have the app automatically opening up the Date/Time Properties window
: after successful synchronization in order to apply the sync'ed time to
: the tray clock. Is there a better way of doing this? Is there a way
: to update the time shown in the tray clock to the sync'ed time without
: opening the Date/Time Prop window?
:
: TIA
:
.
- References:
- Update clock in tray after SetSystemTime
- From: Terry S
- Update clock in tray after SetSystemTime
- Prev by Date: Re: NT Service Control
- Next by Date: Universal Parser Engine and language builder
- Previous by thread: Update clock in tray after SetSystemTime
- Next by thread: Re: Update clock in tray after SetSystemTime
- Index(es):
Relevant Pages
|