Jump to content


Photo
- - - - -

Opening HTML file at bookmark


  • Please log in to reply
1 reply to this topic

#1 ron92

ron92

    New Member

  • Members
  • 1 posts

Posted 10 August 2011 - 01:39 AM

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?

#2 d3bruts1d

d3bruts1d

    Posting Nut

  • Forum Admin
  • PipPipPipPipPipPip
  • 9957 posts
  • Gender:Male
  • Location:Knoxville, TN

Posted 10 August 2011 - 04:23 AM

Does the HTML file contain the anchor point?

The opinions expressed in this post are my own and do not necessarily represent that of OverclockersClub.com, its affiliates or sponsors.
If you enjoy my ramblings you may want to visit my blog, follow me on Twitter, or friend me on Facebook.