I'm trying to use Help Files to add contextual help in MsgBox (from Catia).
The idea is that the MsgBox is too small, and too limited (no pictures, no links...) to clearly display help.
So I'm calling MsgBox like this:
iType = iType + vbMsgBoxHelpButton
MsgBox(sMessage, iType, sType, sHelpF, CStr(iContext))
With this the "help" button is correctly added, and if i run this from Catia Debugger, I get the correct result, ie my help file is opening, at the page iContext. The help file I use is a CHM, generated with HelpNDoc.
But if I run this from a CATScript (what i need to do in the end), the button "help" is displayed, but when clicking on it, the Help file is not opened, and instead i got this error:
For many reasons, i can't use .catvba or .bas files (it's working for this, but i still can't for other reasons), I must work with CATScripts
Any suggestions? I've been trying different settings on the CHM generation, but I always get the same result. And the MSDN documentation on the use of Help files is really scarce, so is the comments on this issue over the web.
Thanks in advance!