I have an XP machine that I compile CHM files from. The following Macro works fine on my machine.
ExecFile( ".\guide\guide.pdf" )
BUT when run from a Win2000 or Win98 machine this macro does NOT run.
Yes, I have verified that the underlying "guide" directory exists on these other computers. I have even shared MY computer and have tried to run the CHM file (located on my computer) from a Win2000 machine - the CHM runs find BUT it does NOT execute the macro above.
Any one have any ideas how I can get the above to work on any Windows machine?
Thanks,
<Ralph>
Macro ExecFile is not working on some machines
Moderators: Alexander Halser, Tim Green
- Ralph Weeks
- Posts: 10
- Joined: Sat Jun 29, 2002 3:33 am
- Location: Northern California (60m N. of San Francisco)
- Tim Green
- Site Admin
- Posts: 23187
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Ralph:
This is almost certainly the "path bug" found on some of the flavors of the HTML Help viewer on different Windows versions. The only way to get around this is to place the file you are referencing in the same folder as the CHM file.
To the best of my knowledge Microsoft has not taken any action to correct this...
This is almost certainly the "path bug" found on some of the flavors of the HTML Help viewer on different Windows versions. The only way to get around this is to place the file you are referencing in the same folder as the CHM file.
To the best of my knowledge Microsoft has not taken any action to correct this...
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.