I hope that someone here has developed a help file for a VB6 control before.
I have created a help file (.chm) and have been trying (for some time now) to add Context IDs to my help.
Context IDs have already been assigned to each function in my VB6 component so that help for its functions can be displayed when a developer hits F1 while using Visual Studio 6.
I keep receiving the following error message while testing to make sure my help file is context sensitive for a function:
HH_HELP_CONTEXT called without a [MAP] section
If I'm highlighting the parameters of the function, I receive the following error:
the MSDN collection does not exist. Please reinstall MSDN.
I have a [MAP] and [ALIAS] section in my .hpp file, so I'm not sure why I'm getting the error.
My .hpp file looks like:
Expand|Select|Wrap|Line Numbers
- [ALIAS]
- MyFunction=html\M_NmSpace_MyObject_MyFunction_12345.htm
- [MAP]
- #define MyFunction 200
- [OPTIONS]
- Compatibility=1.1 or later
- Compiled file=MyHelp.chm
- Contents file=MyHelp.hhc
- Index file=MyHelp.hhk
- Default Topic=html\N_NmSpace.htm
- Full-text search=Yes
- Language=0x409 English (United States)
- Title=Keyscan7ConnectorHelp
- [FILES]
- html\*.htm
- icons\*.gif
- art\*.gif
- art\*.jpg
- art\*.png
- media\*.gif
- scripts\*.js
- styles\*.css
- [INFOTYPES]
-Frinny