JavaScript Editor js editor     Web development 



Main Page

Creates an executable (.exe) file from a Visual FoxPro project.

Note:
The .exe file operates with the Visual FoxPro dynamic-link (.dll) libraries, VFPVersionNumberR.dll and VFPVersionNumberRENU.dll, which you need to distribute with your application to provide a complete Visual FoxPro run-time environment for your application. VersionNumber represents the version number of Visual FoxPro that you use to create the .exe file. These files are located in the ..\Program Files\Common Files\Microsoft Shared\VFP directory.

For more information, see VFP9R.DLL Run-Time Library, VFP9T.DLL Run-Time Library, Preparation for Distributing Applications, and Managing Files in an International Application.

BUILD EXE EXEFileName FROM ProjectName [RECOMPILE]

Parameters

EXEFileName


Specifies the name of the executable file to create. The default file name extension is .exe.
Note:
If an application (.app) file exists with the same root file name as the .exe file you create, the .app file is deleted.

FROM ProjectName


Specifies the name of the project from which the executable file is built.
[RECOMPILE]


Specifies that the project be compiled before the executable file is built. All program and format files; form, label, report, and visual class library source code; and stored procedures in databases in the project are compiled.

Remarks

If the .exe file contains OLEPUBLIC class definitions, BUILD EXE automatically registers the OLEPUBLIC class definitions in the system registry. OLEPUBLIC class definitions appear in the Server Classes list box on the Servers tab of the Project Information dialog box. BUILD EXE creates also registration (.vbr) and type library (.tlb) files with the same name as the .exe file. The .vbr file makes it possible for you to register class definitions in the system registry when the .exe file is moved to a different computer. The .tlb file is for use with object browsers. For more information about registering OLEPUBLIC class definitions in an executable file, see Sharing Information and Adding OLE.

Visual FoxPro includes support for applications that are generated by the build process to detect whether they are running on a Terminal Server and prevents loading of unnecessary dynamic-link library (.dll) files that can impact performance.

See Also



JavaScript Editor js editor     Web development