473,396 Members | 1,891 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,396 software developers and data experts.

VB6 Help files & Context IDs

Frinavale
9,735 Expert Mod 8TB
Hi!

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
  1. [ALIAS]
  2. MyFunction=html\M_NmSpace_MyObject_MyFunction_12345.htm
  3. [MAP]
  4. #define MyFunction 200
  5. [OPTIONS]
  6. Compatibility=1.1 or later
  7. Compiled file=MyHelp.chm
  8. Contents file=MyHelp.hhc
  9. Index file=MyHelp.hhk
  10. Default Topic=html\N_NmSpace.htm
  11. Full-text search=Yes
  12. Language=0x409 English (United States)
  13. Title=Keyscan7ConnectorHelp
  14. [FILES]
  15. html\*.htm
  16. icons\*.gif
  17. art\*.gif
  18. art\*.jpg
  19. art\*.png
  20. media\*.gif
  21. scripts\*.js
  22. styles\*.css
  23. [INFOTYPES]
Thanks in advance for any help on the topic,

-Frinny
Dec 15 '08 #1
1 3659
Frinavale
9,735 Expert Mod 8TB
Update: It appears that the problem was in dynamically creating the hhp using a tool that helped me create the help file. There was a special character of some sort (white space or something) that was not being recognized in the hhp file used to compile the .chm help file. After moving the [MAP] and [Alias] sections to a different part in the hhp file the problem was cleared up.

For those of you needing help with Context Help IDs check out this article...it really helped me :)
Dec 30 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

36
by: Thomas | last post by:
after spending countless hours trying, i give up and hope to get some help in here. on server1 i got the web myweb.com with my test.asp. in the test.asp, i'm trying to read a file from an UNC...
5
by: jab3 | last post by:
(again :)) Hello everyone. I'll ask this even at risk of being accused of not researching adequately. My question (before longer reasoning) is: How does declaring (or defining, whatever) a...
72
by: Paminu | last post by:
In math this expression: (a < b) && (b < c) would be described as: a < b < c But why is it that in C these two expressions evaluate to something different for the same values of a, b and...
1
by: ktosiek | last post by:
hello how to upload files to mysql database thanks for help
46
by: Sensei | last post by:
I was having an interesting discussion about the ANSI C and some ``weird inconsistencies'', or at least what at first sight can be seen as an imbalance. I hope someone can satisfy my curiosity. ...
2
by: Nathan Sokalski | last post by:
I am moving my website from my machine to my webhost, and need some help with what extra files I need to include due to the fact that I used AJAX in my site. Everything on the site is obviously...
2
by: vikramb | last post by:
HI Iam working on a task in which i need to refresh the tomcat cache with out restarting it when there is any new entry in the properties file , My question is in the server.xml if...
4
by: Karl | last post by:
Hi all, I want to write an application that is launched from the context menu in Windows Explorer/Computer. That is to say, when I am browsing around my hard drive and get to any location I...
3
by: aRTx | last post by:
I have try a couple of time but does not work for me My files everytime are sortet by NAME. I want to Sort my files by Date-desc. Can anyone help me to do it? The Script <? /* ORIGJINALI
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...

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.