how can i write a program with c#.net to brows my web site automatically?
Asper
0
Newbie Poster
Recommended Answers
Jump to PostUse the webbrowser control in the toolbox. In the form load event call the Navigate(String) method of ther wbbrowser control, where string is your URL.
Jump to PostAre you trying to
1. open an installed browser with your URL? or
2. create a C# application with a browser embedded that would open the URL when loaded?If you are trying point 1, the following code would help
System.Diagnostics.Process.Start("Your Web URL here");
System.Diagnostics.Process.Start("Your Web …
Jump to PostThere's a lot of code that can be done to do this. I speak first hand as I have been trying to find ways to monitor sites this way. You can use the WebBrowser, HttpRequest, WebClient (for example), there's also external libraries to help.
All 9 Replies
tinstaafl
1,176
Posting Maven
samsylvestertty
12
Newbie Poster
Asper
0
Newbie Poster
tinstaafl
1,176
Posting Maven
samsylvestertty
12
Newbie Poster
Asper
0
Newbie Poster
JOSheaIV
119
C# Addict
Asper
0
Newbie Poster
tinstaafl
1,176
Posting Maven
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.