PRB: Version Information in Project Causes Invalid .Exe File (194781)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 6.0

This article was previously published under Q194781

SYMPTOMS

In the German version of Visual FoxPro 6.0, an executable built from a project that contains version information or has the Auto Increment check box selected fails to run under the German version of Windows NT 4.0. The following error message appears:
<path>/P.EXE ist keine zulassige Anwendung fur Windows.
A rough translation in English follows:
<path>/P.exe is not a permissible application for Windows.

RESOLUTION

Remove version information in the Project Manager and make sure that the Auto Increment check box is not selected.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new project called Ztest.
  2. Add a main program to the project that contains a WAIT WINDOW command then save the program.
  3. In the Project Manager, click Build... (ERSTELLEN...) and choose Build Executable (EXE ERSTELLEN).
  4. Next, select the VERSION button.
  5. Place a number in either the Major, Minor, or Revision text boxes or select the Auto Increment check box.
  6. Click OK twice and then build the executable file.
  7. Start Explorer and attempt to start the executable.
RESULTS: The following error appears:
<path>/P.EXE ist keine zulassige Anwendung fur Windows.

Modification Type:MajorLast Reviewed:8/13/1999
Keywords:kbprb kbProjManager KB194781