Microsoft KB Archive/130798

= BUG: "File Does Not Exist" Occurs After FoxPro Is Maximized =

Article ID: 130798

Article Last Modified on 5/7/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 3.0b Standard Edition
 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 6.0 Professional Edition
 * Microsoft FoxPro 2.6a Standard Edition
 * Microsoft Visual FoxPro 3.0b for Macintosh

-



This article was previously published under Q130798



SYMPTOMS
When running an application, if FoxPro or Visual FoxPro is minimized and then maximized, a "File Does Not Exist" error occurs when you run a program from the menu.



RESOLUTION
If a READ is in effect at the time FoxPro is minimized, the error does not occur. The READ may be in effect either through a Foundation READ implemented in the menu or after the menu has been displayed, as in the READ CYCLE described in Step 6 below.



STATUS
Microsoft 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.



Steps to Reproduce Problem
 Create an application that has these components:

 With a menu as the MAIN component, create a single menu option ("Do Program") as a COMMAND "DO xtest.prg."  In the XTEST.PRG, add this code: WAIT WINDOW "okay"   Build the application. Delete or rename the following source files: XTEST.PRG and XTEST.FXP.</li> Run the application, and click "Do Program." The wait window should be displayed.</li> Minimize FoxPro, and then maximize it. Click "Do Program." The wait window is not displayed in Visual FoxPro, and an error occurs. In Visual FoxPro for Macintosh, switch to Finder and then back to FoxPro.</li>  Clear the error. In the Command window, issue these commands: DO xtest.app @1,1 GET mvar DEFAULT SPACE(5) READ CYCLE </li> Minimize FoxPro, and then maximize it. Click "Do Program." The wait window is displayed correctly. In Visual FoxPro for Macintosh, switch to Finder and then back to FoxPro.</li></ol>

Additional query words: kbvfp300 kbvfp500 kbvfp600

Keywords: kbbug KB130798

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.