i have url's of website in a list i want to open them one by one in a web browser using c#
- Can you give a bit more information like: When should this links be opened - when a user visits a website and clicks a button for example or you have your own windows application? Do you need to open the urls in different browser windows or one after another?Branislav Abadjimarinov– Branislav Abadjimarinov2010-01-06 08:11:27 +00:00Commented Jan 6, 2010 at 8:11
- thanks for your prompt reply . but i want to open that page in my webbrowser control one by one in a same forms.webbrowser control.manish patel– manish patel2010-01-06 08:27:40 +00:00Commented Jan 6, 2010 at 8:27
Add a comment |
2 Answers
foreach (var url in urls) { Process.Start("iexplore.exe", url); } 2 Comments
manish patel
thanks for your prompt reply . but i want to open that page in my webbrowser control.
Darin Dimitrov
Then:
webBrowser1.Navigate(url). If you want to open all the urls you will need to create multiple forms each with it's own browser control.