Microsoft KB Archive/189472

= PRB: "Unexpected Error; Quitting" When Starting Visual Basic =

Article ID: 189472

Article Last Modified on 5/13/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 Q189472



SYMPTOMS
Trying to run Visual Basic results in the following error message:

Unexpected Error; Quitting

This error occurs after the Visual Basic splash screen appears.



CAUSE
There are two known casues for this error:

 Visual Basic cannot find one of the following two files needed to run:

MSO97RT.DLL

MRT7ENU.DLL

 You are trying to run Visual Basic from a network "Administrator" setup.



RESOLUTION
For the first situation, the two files listed in the "Cause" section can be located on the Visual Basic installation CD in the \OS\System directory.

These two files need to be copied into one of the following directories in order to resolve the issue:

C:\Program Files\Common Files\Microsoft Shared\VBA

-or-

C:\Program Files\Common Files\MsApps\VBA

For the second situation, install Visual Basic locally. The Visual Basic product is not designed to run in a shared mode, so network Administrtator setups are unsupported. Please see the "References" section for more information.



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

