How do I call my own .chm file within a VB5 application from sub-windows.
Posted on 2006-05-09
I am currently developing an app using vb5. I was using a help file in the .hlp format.
I recently converted my help file to .chm format.
I realized later that this format is not compatible with vb5 after reading it up.
So now I'm trying to patch up my application so that I use an accelarator key F1 on a mdi menu, so that when I press F1 I get my .chm file; using the HtmlHelp dll behind the menu call.
However, if any window is open besides the MDI, I get the well known error "File x not a windows file or file is corrupted". I think that is because F1 on its own tries to bring up the Help file associated with the app ie. App.HelpFile which would by default can only be a .hlp file in vb5.
Basically I want to call the Help file .chm without modifying all 100 forms properties or form events in the project.