473,408 Members | 1,821 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Bookmark Code for HTML Page

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
1 3078
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Robert Mark Bram | last post by:
Hi All! How do you get the bookmark on the end of a url with ASP? For example, this page from 4GuysFromRolla: http://www.4guysfromrolla.com/demos/servervariables.asp#blobby "blobby" doesn't...
1
by: Targa | last post by:
After I submit a form from a popup window, I use the following code to close the popup and refresh the parent window. <a href="#" onclick="window.opener.location.reload();self.close();return...
3
by: DrFoo | last post by:
(Access 97 and 2003) Hi, Here's a smippit of code that works correctly about 95% of the time. This part of the algorithm... - find the first value = true - if found, find next value =...
6
by: Chris | last post by:
I have been learning C and want to write a program and need someone to point me in the write direction. I want to write a program to store all my webpage bookmarks in possibly one file. I want it...
1
by: Chris M | last post by:
I have a long aspx page, and I have two named anchors for bookmarks. What I want to do is, as the page is being displayed (say in the Page_Load routine) to programmatically select which...
3
by: John Carnahan | last post by:
How would I accomplish the following ? Navigate to a bookmark on a page from a routine in the code behind. ---- html code bookmark1 (someplace on the page... is this an htmlanchor?) ??...
2
by: Tom | last post by:
I have an ASP.NET page called Login; however, I would like it to have a different 'default' name when someone attempts to bookmark the page. I.E. When they bring up my page and then try to add a...
4
by: zzapper | last post by:
Hi, I use an internal bookmark <form method="post" action="${form_action}#mark1"> to return to the correct place in the page. In case of an error I would wish to return to the top of the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.