Click to See Complete Forum and Search --> : open web browser


dky1e
June 5th, 2002, 10:33 AM
How to open a web browser from an application?

Zeg
June 5th, 2002, 07:32 PM
using System.Diagnostics;

Process.Start("IExplore.exe", "http://www.asite.com");

dky1e
June 6th, 2002, 08:27 AM
Thanks, but I should have been clearer.

I can't assume that the user is using IE, I was hoping that there is a built-in function in c# that opens the user's default browser.

How can what is the user's default browser?

Thank you.

Arild Fines
June 6th, 2002, 09:33 AM
Process.Start( "http://www.webpage.com" );

dky1e
June 7th, 2002, 07:55 AM
ohh... no way! :)