PRB: Active OLE Control Prevents Logging Off or Shutting Down
Article ID: 199385
Article Last Modified on 5/12/2003
APPLIES TO
- Microsoft Visual Basic 5.0 Learning Edition
- Microsoft Visual Basic 6.0 Learning Edition
- Microsoft Visual Basic 5.0 Professional Edition
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic 5.0 Enterprise Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
This article was previously published under Q199385
SYMPTOMS
When an OLE control with an embedded OCX control is active, the application prevents logging off or shutting down a machine. OLE cancels shutdown before your Visual Basic application gets a Query Unload event.
CAUSE
To prevent data loss, OLE prevents exiting an application while an OLE provider is active for editing.
STATUS
This behavior is by design.
Keywords: kboleapp kbprb KB199385