Opening HTML file at boommark

Discussion in 'C#' started by ron92, Aug 10, 2011.

  1. ron92

    ron92 New Member

    Joined:
    Aug 10, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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 Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice