Macro ExecFile is not working on some machines

Please post bug reports for earlier versions of Help & Manual (3 and 4) here, along with reports for TNT.

Moderators: Alexander Halser, Tim Green

Post Reply
User avatar
Ralph Weeks
Posts: 10
Joined: Sat Jun 29, 2002 3:33 am
Location: Northern California (60m N. of San Francisco)

Macro ExecFile is not working on some machines

Unread post by Ralph Weeks »

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>
User avatar
Tim Green
Site Admin
Posts: 23178
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Unread post by Tim Green »

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... :evil:
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.
Post Reply