BUG: Invalid Page Fault When Deleting Nodes in TreeView ControlLast reviewed: December 23, 1997Article ID: Q178495 |
The information in this article applies to:
SYMPTOMSWhile attempting to delete nodes from a TreeView control, you receive an Invalid Page Fault and your Visual Basic application is terminated.
CAUSEThis problem may occur when the user clicks on the TreeView control and this action causes an event procedure to run that attempts to delete nodes from the TreeView before the TreeView gets the focus.
RESOLUTIONTo correct this problem, call the DoEvents function in the MouseDown event of the TreeView Control. For example:
Private Sub TreeView1_MouseDown(Button As Integer, Shift As Integer, _ x As Single, y As Single) DoEvents End Sub STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior
|
Additional query words: application error crash gpf ipf page fault
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |