My problem happens with most (but not all) of my help files when invoked from a C++ utility. The error does not happen if I just double-click the .chm file in it's directory.
The error message is :-
Internet Explorer Script Error An error has occurred in the script on this page Line: 283 Char: 5 Error: Object doesn't support this property or method Code: 0 URL ... Do you want to continue running scripts ont his page? (Yes/No)
I tried unchecking the option "Disable script debugging (Internet Explorer)" , but it had no effect.
I also tried unchecking the option "Disable script debugging (Other)". This causes a slightly different error :-
"A Runtime error has occurred. Do you wish to Debug? Line: 282 Error: Object doesn't support this property or method"
I have been looking for a solution to this for some time.
Another piece of online advice was to disable then re-enable ocx controls as follows, but it had no effect (NB I substituted my locations instead of winnt in the test below):-
Another clue/red-herring is that some people get the error and others don't. (I work with a few other developers on the same application. There is no obvious pattern - the problem is seen on some Vista PCs and not others, and it is also seen on some XP PCs and not others).
Sorry about the rambling nature of this message. I have temporarily implemented a workaround by modifying the code to call ShellExecute instaed of HTMLHelp. However, this loses the context-sensitive feature (the help utility now always opens at the first page, not on the relevant sub-page.)
I am running IE7.
Any help would be much appreciated, thanks..........Martin
I am experiencing exactly the same issue. It occurs in the Tax Wise 2009 help files that use RoboHelp or something like that. These files are displayed as context-sensitive bits in a reference panel.