0

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?

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by Momerath
1
  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
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.