G
Gordon Jones
I am still trying to get consistent results out of my Access program
(cbw5.mde) and its companion help file (CBW5Help.chm). I have inserted the
special code and AutoKeys.F1 that has been published in Knowledge Base. In
my development machine it works just as it should -- F1 or a (programmed)
help button bring up the ContextID-linked help page.
The key line in the inserted code is:
hwndHelp = HtmlHelp(Application.hWndAccessApp, HelpFileName,
HH_HELP_CONTEXT, MycontextID)
With the same variables, on my development machine the return to hwndHelp is
592734 for a given form.
If I copy the Access (CBW5.mdb or cbw5.mde) program into a second (test)
machine and execute the same request for help, with the same input variables
to the HtmlHelp() statement, the return to hwndHelpis 0 (zero).
I would have thought that if i compile the program and run it on two
machines, the executing code would be the same, and the results would be the
same. Is there something outside the compiled Access program (e.g. ActiveX)
that can be different on two different machines? If so, how can I ensure
that the working level of that function gets taken along when I compile my
CBW5.mde program?
Thanks in advance,
(cbw5.mde) and its companion help file (CBW5Help.chm). I have inserted the
special code and AutoKeys.F1 that has been published in Knowledge Base. In
my development machine it works just as it should -- F1 or a (programmed)
help button bring up the ContextID-linked help page.
The key line in the inserted code is:
hwndHelp = HtmlHelp(Application.hWndAccessApp, HelpFileName,
HH_HELP_CONTEXT, MycontextID)
With the same variables, on my development machine the return to hwndHelp is
592734 for a given form.
If I copy the Access (CBW5.mdb or cbw5.mde) program into a second (test)
machine and execute the same request for help, with the same input variables
to the HtmlHelp() statement, the return to hwndHelpis 0 (zero).
I would have thought that if i compile the program and run it on two
machines, the executing code would be the same, and the results would be the
same. Is there something outside the compiled Access program (e.g. ActiveX)
that can be different on two different machines? If so, how can I ensure
that the working level of that function gets taken along when I compile my
CBW5.mde program?
Thanks in advance,