"phoenix" <pa******@skynetWORK.be> wrote in
news:ue**************@TK2MSFTNGP10.phx.gbl:
Look up the ShellExecute API. It can open your default browser to
open a specified page without knowing which browser it is.
I don't think there's a direct solution in dotnet. You could use the
Process class but then you have to specify the browser location by
looking up which app is bound to html/asp/... files and where it is.
Which is a lot more difficult.
Yves
You know about assumptions, right, something about u and umption?
Instead of using ShellExecute, you can use this "direct solution in
dotnet":
ProcessStartInfo psi = new ProcessStartInfo("http://www.microsoft.com/");
psi.UseShellExecute = true;
Process.Start(psi);
Mark