PRB: File Name Extension Needed to Run Exe from Support LibraryLast reviewed: November 14, 1997Article ID: Q176186 |
The information in this article applies to:
SYMPTOMSWhen you use either the Visual FoxpPro Support Library PPC or Visual FoxPro Support Library 68K to open a file in the Do Program File dialog box and the file you are trying to open does not have an .exe file extension, an error message is displayed.
CAUSEThe name of the executable file selected does not have an .exe extension.
RESOLUTIONAdd the .exe extension to the name of the executable file.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONWhen an executable file is built in the Visual FoxPro Project Manager, by default the .exe file name extension is not added. When the executable is double clicked, it starts with the appropriate Visual FoxPro Support Library, assuming the library is present. Alternately, the Visual FoxPro Support Library can be double clicked to open the file. It will then displays the Program to Do dialog box. An executable file (.exe extension), application file (.app extension) or a compiled program file (.fxp extension) can be selected to run. Unless the All Files check box in this dialog box is selected, only files with extensions of .exe, .app, and .fxp appear. If the All Files check box is selected in the Do Program File dialog box that appears after double clicking the Visual FoxPro Support Library, other file types can be chosen. If an executable file without the .exe extension or a .prg file that does not have a corresponding .fxp file is chosen the following errror message occurs:
File '<filename>.prg' does not existIf a form (.scx extension) is selected, the following error occurs:
<path>:<filename>.scx is not an object fileForms cannot be run from the Visual FoxPro Support Library unless they are built into an executable or converted to program code and compiled. Note: 68K versions of an executable file can be tested on a PowerPC by double clicking the Visual FoxPro (VFP) Support Library 68K and running the executable. This is especially useful for testing ODBC applications since PPC and 68K use different ODBC Setup control panels and ODBC SQL Server drivers.
Steps to Reproduce Behavior
|
Additional query words: vfoxmac
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |