PRB: Windows-Style Help File Not Found When Executable Is Run

PSS ID Number: Q111916
Article last modified on 02-25-1994

2.50 2.50a 2.50b
WINDOWS

--------------------------------------------------------------------
The information in this article applies to:

 - Microsoft FoxPro for Windows, versions 2.5, 2.5a, and 2.5b
 - Microsoft FoxPro Distribution Kit for Windows, versions 2.5, 2.5a,
   and 2.5b
--------------------------------------------------------------------

SYMPTOMS
========
Your .EXE file cannot locate the Windows-style Help file upon execution.

CAUSE
=====
If the Windows-style Help file is included as a file in a project that is
built into an .EXE file, the executable will look for the Help file in the
original development directory, not in the installed executable directory.

RESOLUTION
==========
To properly include a Windows-style Help file in an executable, do the
following:
1. Do not include the Help file in the project.
2. Place the Windows-style Help file in the application distribution
   directory so that the SetupWizard includes it on your distribution
   disks.

REFERENCES
==========
Page 13 of the Microsoft FoxPro Distribution Kit for Windows "User's Guide"
states the following:
   If you create Windows-style help for your application, note that it
   can't be included in a project. Place the Windows-style help in your
   application distribution directory so the Setup Wizard includes it on
   your distribution diskettes.

Additional reference words: 2.50 2.50a 2.50b
Copyright Microsoft Corporation 1994.