R ON

R ON

  • NA
  • 8
  • 7k

Opening html file at bookmark

Aug 9 2011 12:18 PM
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)