By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,635 Members | 911 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,635 IT Pros & Developers. It's quick & easy.

Bookmark Code for HTML Page

P: n/a
Hi everyone

I have a 2002 Access MDB, which uses a HTML page with bookmarks in it,
as a Help File.

The problem is not accessing the help file, but opening it to the
proper bookmark.

I use this code in a Help Command Button on all the Forms to open the
html:
strAppName = "c:\program files\internet explorer\iexplore " _
& strAppPath & "\Help\Help.htm"
Call Shell(strAppName, 3)

This opens the file as the start.
And Ive tried this code with the same result.

strAppName = "c:\program files\internet explorer\iexplore " _
& strAppPath & "\Help\Help.htm#BookMarkName"
Call Shell(strAppName, 3)

Any help would be appreicated.

Have fun
Thanks

Chris from Sydney Australia
Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
TC
Take your:

strAppName = "c:\program files\internet explorer\iexplore " _
& strAppPath & "\Help\Help.htm#BookMarkName"

debug.print the result, then type the result verbatim into the Start:Run box
& see if that works. If it does, your code *should* work, surely.

HTH,
TC


"ChrisR" <ch***@krisaracomputers.com.au> wrote in message
news:97**************************@posting.google.c om...
Hi everyone

I have a 2002 Access MDB, which uses a HTML page with bookmarks in it,
as a Help File.

The problem is not accessing the help file, but opening it to the
proper bookmark.

I use this code in a Help Command Button on all the Forms to open the
html:
strAppName = "c:\program files\internet explorer\iexplore " _
& strAppPath & "\Help\Help.htm"
Call Shell(strAppName, 3)

This opens the file as the start.
And Ive tried this code with the same result.

strAppName = "c:\program files\internet explorer\iexplore " _
& strAppPath & "\Help\Help.htm#BookMarkName"
Call Shell(strAppName, 3)

Any help would be appreicated.

Have fun
Thanks

Chris from Sydney Australia

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.