Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can you please help me to link a web page from a Form?
Like when I click button1 on form1, it links to a webpage.
Thanks a lot.
Posted
Updated 12-Aug-10 2:30am
v2

1 solution

C#
System.Diagnostics.Process.Start(@"http://www.mysite.com/mypage.html");
 
Share this answer
 
v2
Comments
Per Söderlund 12-Aug-10 9:10am    
I think this starts the webpage in your default browser.
So if you set Opera or whatever you use as default browser it will start on it.
Toli Cuturicu 12-Aug-10 10:18am    
Of course! A webpage cannot be started by itself! It surely must be inside a web browser.

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