Possible Duplicate:
How to open in default browser in C#
How to open "file://D:/help.html#selclass" with default browser in C#, is there any example?
Thanks Dma
Possible Duplicate:
How to open in default browser in C#
How to open "file://D:/help.html#selclass" with default browser in C#, is there any example?
Thanks Dma
Process.Start("file://D:/help.html#selclass");
var p = Process.Start(@"D:\help.html");
while (!p.HasExited) Thread.Sleep(10);
// carry on
You could:
.URL file (see here for instance) that features #selclass in the URL..URL using Process.Start(...)..URL file.I got default browser firstly through register table; and then call
Process.Start(browser, url);
It works