9
Reply

Opening html file at bookmark

R ON

R ON

Aug 9 2011 12:18 PM
5.1k
I can't get my C# program to open the html page at the desired location.

E.g.

System.Diagnostics.Process.Start(@"C:\file.htm");

works fine. It opens the page at the top.



But if I type

System.Diagnostics.Process.Start(@"C:\file.htm#bookmark");

it still just opens at the top of the page (instead of at the bookmark where I want it to open.



Any ideas?

Answers (9)