|
-
February 26th, 2009, 08:03 PM
#1
Is there anything in C# that allows me to...
Is there anything that allows me to receive an event if the user changes their windows time zone? Thanks,
-
February 27th, 2009, 05:16 AM
#2
Re: Is there anything in C# that allows me to...
I would look at WMI, but it's just a hint, I've no direct experience with it.
- Make it run.
- Make it right.
- Make it fast.
Don't hesitate to rate my post. 
-
February 27th, 2009, 09:27 AM
#3
Re: Is there anything in C# that allows me to...
i am not sure...but if windows release a message with hex code after chaning the time zone then you can override WndProc and catch that message:
pesudo code:
Code:
protected override void WndProc(ref Message mess)
private const int Time_Zone_Changed = 0x(some hex);
if (mess.Msg == Time_Zone_Changed )
//do something
Please rate my post if it was helpful for you.  Java, C#, C++, PHP, ASP.NET
SQL Server, MySQL
DirectX
MATH Touraj Ebrahimi
[toraj_e] [at] [yahoo] [dot] [com]
-
February 27th, 2009, 10:51 AM
#4
Re: Is there anything in C# that allows me to...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|