Click here to Skip to main content
16,017,788 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hey guys I was wondering how I would go about coding a page refresher that takes a link you input to the gui and keeps refreshing the page after so many seconds :)in c#
Posted
Updated 1-Aug-12 6:39am
v2
Comments
[no name] 1-Aug-12 12:40pm    
You mean like a timer?
l1stene 1-Aug-12 12:41pm    
yeah an automatic thing :)
[no name] 1-Aug-12 12:45pm    
Your use of the term "page" makes me think that you are working on a web app. Please tag your question appropriately as that affects any answer you will get.
Kenneth Haugland 1-Aug-12 12:41pm    
With DoEvent? .... Not to you Wes, but this seemed most natural
Sandeep Mewara 1-Aug-12 12:45pm    
Winforms or Web(ASP.NET)?

There is an article on this very site that gives you a code for a page refresher in C# (assuming that you are making a web program in ASP) here:

Auto Refresh Web Page[^]

If this dosent answer your question please press the Improve qustion and update the tag and/or give additional spesefications in your question.

:)
 
Share this answer
 
If you're talking about a WinForms application, use the WebBrowser class[^] to display the page and call it's Refresh method periodically with the Timer class[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900