The information in this article applies to:
SYMPTOMSWhen Buildapp.prg is used to build an .exe file, the following error may occur:
CAUSEThe application name parameter passed to Buildapp included an .app extension. RESOLUTIONIf Buildapp is being used to build an .exe file, the application name parameter should either have no extension or have an .exe extension. STATUSThis behavior is by design. MORE INFORMATION
Located in the Visual FoxPro Tools\Buildapp directory, Buildapp.prg strips
the method and event code of .scx and .vcx files from .app and .exe files
for distribution purposes.
DO BUILDAPP WITH cProjectName, cAppFileName, lDebugMode, lBuildEXEThe cAppFileName parameter should either have no extension or reflect the extension of the type of file you are building (.app for application, or .exe for executable). In the process of building an executable, FoxPro builds a temporary .app file with the name you specified in the cAppFileName parameter. This will cause a problem in the next step when it tries to create an executable file with a .app extension from the temporary .app file it has already created. Steps to Reproduce BehaviorThe following example uses the Tastrade.pjx file in the Samples\Mainsamp directory under the Visual FoxPro directory.Issue the following commands in the Command window:
At this point, the error occurs. To prevent the error, use one of the
following commands to build the executable:
-or-
Additional query words:
Keywords : kbVFp kbVFp300 kbVFp600 FxtoolGeneral |
Last Reviewed: August 19, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |