Link to home
Start Free TrialLog in
Avatar of HFunakawa
HFunakawaFlag for Japan

asked on

how to know user changes the clock


How can I distiguish the event which user requests from the event which
'window system' requests?

I use 'SystemEvents.TimeChanged' event in order to recognize if user changes the clock.
However in some cases 'window system' seems to change the clock.
This happens once a week in case of Vista.

 I want to use this event only when user changes the clock.
How can I distinguish those events?

Avatar of Ken Lynch
Ken Lynch
Flag of United States of America image

This is the system events info I got when I did a manual time change on a vista system:

Look for
Source:       Kernel-General                  
Logged:       Date & Time
EventID:      1                        
Task Category:      None
Level:            Information                  
Keywords:      Time

 time-chg-event-vwr.txt
ASKER CERTIFIED SOLUTION
Avatar of andr_gin
andr_gin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of HFunakawa

ASKER

thanks for answers.

i made a program that checked the time changing more than 1 minute or not.
it seems to work!

thank you all answers again.