FIX: IDE Doesn't Show Topics of OCX Help Files Correctly (171499)
The information in this article applies to:
- Microsoft Visual Basic Control Creation Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
This article was previously published under Q171499 SYMPTOMS
When creating your own control or using a third-party control, you may see
the following problems when invoking context-sensitive help on a Classes or
Members item in the Object Browser from within the Visual Basic 5.0 IDE.
These problems may occur when invoking context-sensitive help using the F1
key, the What's This button, or the right-mouse button on the object and
selecting Help from the popup menu. You may also see these problems when
pressing the F1 key after selecting a control that is placed on a form at
design-time in the IDE.
The problems you may see are as follows:
- If Help Author is switched on (set to 1), you will see the error message
"The Window name 'LangRef' was not defined in your project file." You
will also see the topic displayed in Visual Basic 5.0's Langref window
instead of the control's Help file window.
- Macros that make jumps based on keywords do not function. The macros
that are affected are ALink, KLink, and JumpKeyword. The error "No
additional information is available" is displayed when either the ALink
or KLink macro is invoked from a topic shown through context-sensitive
help in the Object Browser. Please note that the ALink and KLink macros
are typically invoked in Help files from "Related Topics" or "See Also"
hotspots. When using JumpKeyword, the Index tab is displayed but the
desired keyword may not be listed. If the keyword is listed in the Index
tab, a jump to the desired topic may not occur.
- Visual Basic's contents tree is displayed instead of the control's when
the Contents or Help Topics button is clicked on a topic invoked through
context-sensitive help in the Object Browser.
These problems do not happen with intrinsic controls or other controls that
were originally shipped with Visual Basic 5.0.
RESOLUTION
All the problems above have been fixed in Visual Studio 97 Service Pack 2
(SP2) except problem number 1. This error is only displayed when Help
Authoring is switched on. To prevent the error message from appearing,
switch off Help Authoring. Help Authoring can be switched by doing any one
of the following:
- From HCW, select and uncheck the Help Author item in the File menu.
- In Windows 95, Windows 98, and Windows Me, add Help Author=0 to the [Windows Help] Section
of the Win.ini in the windows directory. You will not need to reboot but
you will need to close the Help file and reopen it.
- From Windows NT 3.51 or 4.0 in the
HKEY_CURRENT_USER\\Software\Microsoft\Windows Help, you will need to set
'Help Author' to '0'.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug has been fixed in Visual Studio
97 Service Pack 2.
For more information on the Visual Studio 97 Service Pack 2, please see the
following article in the Microsoft Knowledge Base:
170365
: INFO: Visual Studio 97 Service Packs - What, Where, and Why
For a list of the Visual Basic 5.0 bugs that were fixed in the Visual
Studio 97 Service Pack 2, please see the following article in the Microsoft
Knowledge Base:
171554
: INFO: Visual Basic 5.0 Fixes in Visual Studio 97 Service Pack 2
Modification Type: | Major | Last Reviewed: | 12/10/2003 |
---|
Keywords: | kbbug kbfix kbVBp500fix kbVS97sp2fix KB171499 |
---|
|