Bookmarks in HTML help 
Author Message
 Bookmarks in HTML help

Hi,

I'm creating a project in VB6 and using Microsoft's HTML Help Workshop to
create my HTML helpfiles. For most part it works well, but I'd like to link
certain HelpContextID's to bookmarks rather than entire .htm files.

If this is possible, can anyone tell me how?

Regards, Bas.



Sun, 12 Sep 2004 05:51:28 GMT  
 Bookmarks in HTML help
In your HHP, have the entries in the [ALIAS] section point to the bookmarks.
The compiler may throw warnings for each one, but you can ignore them in
this case.

David Liske
Microsoft Help MVP since 1999
http://www.mvps.org/htmlhelpcenter
Electronic Media Technician
School of Art and Design
University of Michigan


Quote:
> Hi,

> I'm creating a project in VB6 and using Microsoft's HTML Help Workshop to
> create my HTML helpfiles. For most part it works well, but I'd like to
link
> certain HelpContextID's to bookmarks rather than entire .htm files.

> If this is possible, can anyone tell me how?

> Regards, Bas.



Sun, 12 Sep 2004 08:16:28 GMT  
 Bookmarks in HTML help
David thanks for your response.

That was what I did before I asked the question, but because of the error
messages I didn't test the .chm file.
Now I tried it again, but it doesn't seem to work.

I use included files, but also with seperate alias strings it doesn't work

This is in my alias file:

IDH_PERSOONNIEUW=personen.htm#Nieuw persoon
IDH_PERSOONSELECTEREN=personen.htm#Persoon selecteren
IDH_PERSOONSGEGEVENS=personen.htm#Persoons gegevens
IDH_PERSOONVERWIJDEREN=personen.htm#Persoon verwijderen

And this in my header file:

#define IDH_PERSOONNIEUW 1120
#define IDH_PERSOONSELECTEREN 1130
#define IDH_PERSOONSGEGEVENS  1140
#define IDH_PERSOONVERWIJDEREN  1150

But when I use the contextID's, only a jump to the top of the .htm file will
occur.

Is there something I'm doing wrong here?

Regards, Bas.



Quote:
> In your HHP, have the entries in the [ALIAS] section point to the
bookmarks.
> The compiler may throw warnings for each one, but you can ignore them in
> this case.

> David Liske
> Microsoft Help MVP since 1999
> http://www.mvps.org/htmlhelpcenter
> Electronic Media Technician
> School of Art and Design
> University of Michigan



> > Hi,

> > I'm creating a project in VB6 and using Microsoft's HTML Help Workshop
to
> > create my HTML helpfiles. For most part it works well, but I'd like to
> link
> > certain HelpContextID's to bookmarks rather than entire .htm files.

> > If this is possible, can anyone tell me how?

> > Regards, Bas.



Mon, 13 Sep 2004 03:47:07 GMT  
 Bookmarks in HTML help
Ah, there's the specific problem lookin' right at my bald spot. You can't
have any spaces in your aliases.

David Liske
Microsoft Help MVP since 1999
http://www.mvps.org/htmlhelpcenter
Electronic Media Technician
School of Art and Design
University of Michigan


Quote:
> David thanks for your response.

> That was what I did before I asked the question, but because of the error
> messages I didn't test the .chm file.
> Now I tried it again, but it doesn't seem to work.

> I use included files, but also with seperate alias strings it doesn't work

> This is in my alias file:

> IDH_PERSOONNIEUW=personen.htm#Nieuw persoon
> IDH_PERSOONSELECTEREN=personen.htm#Persoon selecteren
> IDH_PERSOONSGEGEVENS=personen.htm#Persoons gegevens
> IDH_PERSOONVERWIJDEREN=personen.htm#Persoon verwijderen

> And this in my header file:

> #define IDH_PERSOONNIEUW 1120
> #define IDH_PERSOONSELECTEREN 1130
> #define IDH_PERSOONSGEGEVENS  1140
> #define IDH_PERSOONVERWIJDEREN  1150

> But when I use the contextID's, only a jump to the top of the .htm file
will
> occur.

> Is there something I'm doing wrong here?

> Regards, Bas.



> > In your HHP, have the entries in the [ALIAS] section point to the
> bookmarks.
> > The compiler may throw warnings for each one, but you can ignore them in
> > this case.

> > David Liske
> > Microsoft Help MVP since 1999
> > http://www.mvps.org/htmlhelpcenter
> > Electronic Media Technician
> > School of Art and Design
> > University of Michigan



> > > Hi,

> > > I'm creating a project in VB6 and using Microsoft's HTML Help Workshop
> to
> > > create my HTML helpfiles. For most part it works well, but I'd like to
> > link
> > > certain HelpContextID's to bookmarks rather than entire .htm files.

> > > If this is possible, can anyone tell me how?

> > > Regards, Bas.



Mon, 13 Sep 2004 04:40:41 GMT  
 Bookmarks in HTML help
Thanks,

Works just fine now.

I'm just too much used to filenames and bookmarks with spaces working just
fine as far as html is concerned. This was an exeption I should have thought
of.

Regards, Bas.



Quote:
> Ah, there's the specific problem lookin' right at my bald spot. You can't
> have any spaces in your aliases.

> David Liske
> Microsoft Help MVP since 1999
> http://www.mvps.org/htmlhelpcenter
> Electronic Media Technician
> School of Art and Design
> University of Michigan



Mon, 13 Sep 2004 05:51:33 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Can Context-Sensitive HTML Help reference a bookmark?

2. HTML Help Bookmark referencing

3. VBA help window: Multiple windows/tabs, bookmarks, bookmarks/history pane

4. MultiSelect HTML Tables Possible Solution = Bookmarks?

5. Cannon access an HTML bookmark with the WebBrowser control

6. no valid bookmark error message, without using bookmarks at all

7. Bookmark as Calculation of other bookmarks

8. Bookmark(2).value from other bookmark

9. replacing bookmark text in vba: bookmark deleted ?

10. Changing Bookmark's text deletes bookmark from collection

11. dbGrid bookmarks v. rdoresultset bookmarks

12. RDO bookmarks vs DAO bookmarks

 

 
Powered by phpBB® Forum Software