Microsoft KB Archive/141630

= PRB: Visual Foxpro Must Quit After Error When Set PageCount =

Article ID: 141630

Article Last Modified on 9/30/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 3.0b Standard Edition

-



This article was previously published under Q141630



SYMPTOMS
Setting the PageCount property of a pageframe generates this error:

This program has performed an illegal operation and will be shut down.

If the problem persists, contact the program vendor.

If you click Details, the following error appearss:

Visual FoxPro caused an invalid page fault in module ...



STATUS
Microsoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.



Steps to Reproduce Problem
 Create a new form in the Form Designer. Add a pageframe to the form, and set its PageCount property to 0. Run the form.  In the Command window, type these commands: _SCREEN.FORMS(1).PAGEFRAME1.ADDOBJECT("Page1","Page") _SCREEN.FORMS(1).PAGEFRAME1.ADDOBJECT("Page2","Page") _SCREEN.FORMS(1).PAGEFRAME1.ADDOBJECT("Page3","Page") _SCREEN.FORMS(1).PAGEFRAME1.REMOVEOBJECT("Page1","Page") _SCREEN.FORMS(1).PAGEFRAME1.REMOVEOBJECT("Page2","Page") _SCREEN.FORMS(1).PAGEFRAME1.ADDOBJECT("Page1","Page") _SCREEN.FORMS(1).PAGEFRAME1.ADDOBJECT("Page2","Page") _SCREEN.FORMS(1).PAGEFRAME1.PAGECOUNT=0 _SCREEN.FORMS(1).PAGEFRAME1.PAGECOUNT=0 The error message is generated and Visual FoxPro must be shut down. 

Additional query words: VFoxWin Closed Terminated

Keywords: KB141630

-

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

© Microsoft Corporation. All rights reserved.