Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7063569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:43:45+00:00 2026-05-28T04:43:45+00:00

In the previous version of my Application to enable capture that the time had

  • 0

In the previous version of my Application to enable capture that the time had been changed in Windows I implemented an IMessageFilter to capture WM_ that is sent by windows when the time has changed.

I know that now with .NET 4 (previously I was using .NET 2 (with reflection) to “ResetTimeZone” I can just call ClearCachedData.

What I’m hoping is that there is some Event that I can attach to in the BCL which I may not have seen that can report the Time has been changed.

If not, I’ll just stick with my existing Filter. Does such an event exist? Similar to the System.Net.NetworkInformation.NetworkChange.NetworkAddressChanged

Public Function PreFilterMessage(ByRef m As System.Windows.Forms.Message) As Boolean Implements 
    System.Windows.Forms.IMessageFilter.PreFilterMessage
    Select Case m.Msg
        Case 30
            System.Globalization.CultureInfo.CurrentCulture.ClearCachedData()
            'ResetTimeZone()
            RaiseEvent TimeChanged(Me, EventArgs.Empty)
        Case Else
    End Select
End Function
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:43:45+00:00Added an answer on May 28, 2026 at 4:43 am

    I think this is what you’re looking for:

    SystemEvents.TimeChanged

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application written in .NET. The previous version had no problems: you
Just started using JSON in iOS. I have a previous version of an application
I'm trying to make my application backwards compatible to at least one previous version.
I've revised (but not changed) this question for brevity; see edits for previous version(s)
I just rewrote a simple Rails application. The previous version of my application has
My ASP.NET MVC-3 application is using the previous version of Telerik MVC Extensions combobox
I had the previous version of Bisna (before July 22nd), with Doctrine 2.0 working
I'm trying to enable my application to keep previous versions of entities. For example,
In my previous version of the application, this code worked fine: form.find('input').disable(); With new
In previous versions of Xcode creating a window-based, universal application would populate the project

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.