hi,I am trying to write a simple code that visit page every x seconds.I prefer timer function because thread freeze the browser and the program.Somebody whit idea?

  1. Create Windows form application.
  2. Add webbrowser to form
  3. Add timer to form
  4. Set timer interval to 10000
  5. Set timer enabled to true
  6. Add event handler for tick event
  7. In tick event, add the line webBrowser1.Navigate("http://mywebsite.com");
  8. Run code
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.