Peter
2006-11-05 00:25:01 UTC
I cannot open a .chm help file from a VbScript MsgBox and InputBox.
When I click on the .chm file in Windows Explorer, it displays normally and
runs in hh.exe process.
My script refers to this help file in a message box and an inputbox:
MsgBox "Click Yes or No", vbYesNo, , "C:\scripts\MyHelp.chm", 1010
But when I click on the Help button, the following message appears with
"Windows Help" in the title bar:
"The document C:\scripts\MyHelp.chm is not a Windows Help file, or the file
is corrupted." In Task Manager, I see VbScript starts winhlp32.exe, I guess
to open that .chm file. (After clicking OK and the script finishes,
winhlp32.exe continues running in the background.)
So it appears VbScript expects a .hlp file.
Can I not point to a .chm help file in a VbScript message box/inputbox?
Win 2000 SP4
WSH 5.6
Help file created by HTML Workshop 4.74.8702.0
When I click on the .chm file in Windows Explorer, it displays normally and
runs in hh.exe process.
My script refers to this help file in a message box and an inputbox:
MsgBox "Click Yes or No", vbYesNo, , "C:\scripts\MyHelp.chm", 1010
But when I click on the Help button, the following message appears with
"Windows Help" in the title bar:
"The document C:\scripts\MyHelp.chm is not a Windows Help file, or the file
is corrupted." In Task Manager, I see VbScript starts winhlp32.exe, I guess
to open that .chm file. (After clicking OK and the script finishes,
winhlp32.exe continues running in the background.)
So it appears VbScript expects a .hlp file.
Can I not point to a .chm help file in a VbScript message box/inputbox?
Win 2000 SP4
WSH 5.6
Help file created by HTML Workshop 4.74.8702.0