If the OLE service under Windows NT is stopped, when you attempt to start
Visual Basic or an application written with Visual Basic, you'll see this
error:
"Unexpected error; quitting"
Or, if the OLE service is stopped while Visual Basic or an application
written with Visual Basic is running and you attempt to use an OLE control
in Visual Basic, you'll see this error:
"Unable to create embedded object"
Back to the top
Visual Basic uses OLE extensively for controls, data access, and even
internal communication. The OLE Service is a necessary component for Visual
Basic, but it is not absolutely necessary for this service to be running
under Windows NT. It may be stopped to increase the overall performance of
other tasks. If this is done, Visual Basic and Visual Basic applications
will not run.
Back to the top
This behavior is by design.
Back to the top