PRB: Programmatically Converting 3.0 Project in 5.0 FailsLast reviewed: October 28, 1996Article ID: Q156865 |
The information in this article applies to:
SYMPTOMSIn Visual FoxPro 3.0 or 3.0b, a FoxPro 2.x project can be programmatically converted with the MODIFY PROJECT <project name> command. However, in Visual FoxPro 5.0, the command MODIFY PROJECT <project name> results in the following error:
The wrong parameters were passed to the converter. To convert files, open them from the file menu. CAUSENew codes have been added to the Visual FoxPro 5.0 converter to preserve the Visual FoxPro 3.0 default. These changes require running the CONVERT program before issuing the MODIFY PROJECT command.
RESOLUTIONYou can convert a FoxPro 2.x project programmatically in Visual FoxPro 5.0 by running the Convert.app first, as follows:
DO CONVERT WITH pFileName, pFileType, pVersion, pProgCall MODIFY PROJECT pFileNameThe following applies to the above code:
DO Convert WITH "c:\FPW26\OLD.PJX", "PROJECT", "2.6", .T. MODIFY PROJECT c:\FPW26\OLD.PJXNOTE: In the DO CONVERT command above the word "PROJECT" must be capitalized. STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior
|
KBCategory: kbtool kbprb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |