问题描述:当我开启VB6.0时,系统提示我“Unexpected Error: Quitting”,我用的Windows XP SP3版本;
Unexpected Error: Quitting
我试过网上的各种方法,包括微软的solution,但都一点用处都没有;
我把WinXP的所有补丁下载下来安装,也不起作用;
最后我看到一个网站的的一个解决办法,检查了我的Services,发现DCOM Server Process Launcher没开起来;等我开起来时,我问题全部解决;真的很费劲呀。。。这一点微软的解决方案里并没提到。。所以我不放对上述问题做一个总结:
如果上述问题发生,请参照下面的三个方案,或许能解决你的烦恼:
方案一: 先检查DCOM Server Process Launcher这个Services是否开起来;具体操作是:我的电脑à属性à管理à服务,找到DCOM Server Process Launcher,设定为自动,开启,确定就可; 如果上述DCOM Server Process Launcher开启来,问题还没解决,那就用方案二;
方案二请参见微软的解决方案:
链接地址如下:http://support.microsoft.com/default.aspx?scid=kb;en-us;189472&Product=vbb;
另外也贴详细的内容:
原因:
There are two known casues for this error:
1. Visual Basic cannot find one of the following two files needed to run:
MSO97RT.DLL
MRT7ENU.DLL
2. You are trying to run Visual Basic from a network "Administrator" setup.
解决办法:
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.
英文你们都懂的,我不做翻译了;如果方案二还没解决,请参见方案三;
方案三:请参见下面的内容,也是英文,大家应该都懂;
1.Could not open visual basic 6.0. I got the an error that the DAO350.DLL could not be found.
2. So following some suggestions from the web:
a) Renamed old DAO350.DLL as DAO350.DLLOLD
b) I took this file from Visual Studio Disk 1 and copied it into the
C:Program FilesCommon FilesMicrosoft SharedDAO
c) Regsvr32 "C:Program FilesCommon FilesMicrosoft SharedDAODAO350.DLL"
d) Then I got a successful message that it registered;
其它,贴上从网站搜索的所有相关问题的链接;
http://www.bigresource.com/VB-Unexpected-Error-Quitting-QBkzxi8m8F.html
上述仅在Window XP SP3环境下测试通过;
关于Win7的,Win7下有些程序需要管理员权限运行,查看你的权限是否正确;如果开启问题仍然存在,你不妨也试试这三个解决方案;
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/30193/viewspace-752226/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/30193/viewspace-752226/