PRB: Common Dialog ShowHelp Method does not Work with CHM Files (233398)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q233398 SYMPTOMS
When attempting to display a Help file using the Microsoft Common Dialog Control 6.0, the following error message is displayed:
The filename file is not a Windows Help file, or the file is corrupted.
CAUSE
The ShowHelp method launches WinHelp32.exe, which does not support HTML based help files.
RESOLUTION
To open an HTML based help file from Visual Basic it is necessary to call the HtmlHelp API function.
STATUS
This behavior is by design.
REFERENCES
Visual Basic Online Help; search on: "ShowHelp"
For more information, please see the following article in the Microsoft Knowledge Base:
183434: HOWTO: Use HTML Help API in a Visual Basic Application
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbCmnDlg kbprb KB233398 |
---|
|