Article ID: 221696
Article Last Modified on 8/28/2003
APPLIES TO
- Microsoft Visual FoxPro 6.0 Professional Edition
This article was previously published under Q221696
SYMPTOMS
Under a specific set of circumstances, repeatedly opening Visual FoxPro, docking a toolbar, and restoring/maximizing the Visual FoxPro desktop will cause the following error to occur:
Visual FoxPro will terminate after the error message is displayed.
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This bug was corrected in Visual Studio 6.0 Service Pack 3.
For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:
MORE INFORMATION
Steps to Reproduce Behavior
- Create a new directory called c:\tempx.
Create a configuration file called newconfig.fpw in the c:\tempx directory with the following contents:
default = c:\tempx resource = on resource = c:\tempx\test
Create a shortcut on your desktop. The command line of the shortcut should be:
c:\vfp6\vfp6.exe -cc:\tempx\newconfig.fpw
The shortcut title should be VFP Test.
- Start Visual FoxPro from the shortcut.
- The Standard toolbar should be displayed, and it will be docked to the top of the Visual FoxPro desktop. Maximize the Visual FoxPro desktop if it is not already maximized.
- Quit Visual FoxPro by clicking the Close button (the X in the upper-right corner of the Visual FoxPro desktop).
- Start Visual FoxPro from the shortcut.
- Click on the Restore button, which is the button between the minimize and close buttons in the upper-right hand corner of the Visual FoxPro desktop.
- Resize the Visual FoxPro desktop to take up most of the screen (99% is ok).
- Dock the Standard toolbar to the left of the Visual FoxPro desktop by dragging it with your mouse.
- Quit Visual FoxPro.
- Start Visual FoxPro from the shortcut.
- Dock the Standard toolbar to the top of the Visual FoxPro desktop.
- Maximize the Visual FoxPro desktop.
- Quit Visual FoxPro.
- Start Visual FoxPro from the shortcut.
- Dock the Standard toolbar to the left again.
- Quit Visual FoxPro.
- Right-click the Shortcut and select Properties from the Shortcut menu. Click the Shortcut tab in the Properties dialog, and select "Maximized" from the Run drop-down box. Click the OK button.
- Start Visual FoxPro from the shortcut.
- Quit Visual FoxPro.
- Start Visual FoxPro from the shortcut.
The Visual FoxPro splash screen, then the Visual FoxPro desktop will be displayed. The error dialog described in the SYMPTOMS section of this article will be displayed, and the Visual FoxPro desktop will disappear.
Notes: On Windows NT 4, installing NT Service Pack 4 may change the behavior. In this case, you may see no error or the following error if you exit Visual FoxPro after the final step above:
Keywords: kbbug kbfix kbvs600sp3fix KB221696