FIX: GP Fault or UAE When Unload Form in DragOver Event (93233)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 2.0
This article was previously published under Q93233 SYMPTOMS
If you place an Unload statement in the DragOver event procedure, a general
protection (GP) fault or Unrecoverable Application Error (UAE) occurs
depending on which version of Windows you are using.
WORKAROUND
Do not place an Unload statement in a DragOver event procedure, or use
code to check to make sure that you are done dragging before trying to
unload a form. For example, you might use a Timer control. Enable the
timer in the DragOver event procedure by setting it to True. Then place
the Unload statement in the Timer1_Timer event procedure, and disable the
timer by setting the Enabled property to False in the Unload event
procedure.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Visual Basic
programming system for Windows, version 2.0. This problem was corrected
in Microsoft Visual Basic version 3.0 for Windows.
Modification Type: | Minor | Last Reviewed: | 1/8/2003 |
---|
Keywords: | kbbug KB93233 |
---|
|