Jump to content

Opening HTML file at bookmark


ron92

Recommended Posts

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.)

 

 

Btw I have used several browsers and the same problem persists.

 

 

Any ideas?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...