I've got a Windows Application with a form, how can i let a button open a webpage
Please reply, need help fast!
Marco
Visual C# General
I've got a Windows Application with a form, how can i let a button open a webpage
Please reply, need help fast!
Marco
You could use WebBrowser control to open a web page within your application.
Below is the code that will open a web page in your default browser.
string
url = "http://www.google.com";System.Diagnostics.
Process proc = new System.Diagnostics.Process();System.Diagnostics.
ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo(url);proc.StartInfo = startInfo;
proc.Start();
Thank's, you saved my day!