本帖最后由 cjiabing 于 2012-11-12 15:35 编辑
在使用VB?过程中,有时候会弹出一些错误提示,无法正常运行,可能是系统设置原因,此时,可用以下方法修复。
注意浏览器的设置和注销或刷新。
- @echo off&echo 修复VBactivex错误-批处理之家
- echo 正在修复,这个过程可能需要几分钟,请稍候……
- regsvr32 /s "C:\Program Files\Common Files\System\ado\msado15.dll"
- regsvr32 /s scrrun.dll
- rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%\System32\dacui.dll
- rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%\Catroot\icatalog.mdb
- regsvr32 /s comcat.dll
- regsvr32 /s asctrls.ocx
- regsvr32 /s oleaut32.dll
- regsvr32 /s shdocvw.dll /I
- regsvr32 /s shdocvw.dll
- regsvr32 /s browseui.dll
- regsvr32 /s browseui.dll /I
- regsvr32 /s msrating.dll
- regsvr32 /s mlang.dll
- regsvr32 /s hlink.dll
- regsvr32 /s mshtml.dll
- regsvr32 /s mshtmled.dll
- regsvr32 /s urlmon.dll
- regsvr32 /s plugin.ocx
- regsvr32 /s sendmail.dll
- regsvr32 /s mshtml.dll /i
- regsvr32 /s scrobj.dll
- regsvr32 /s corpol.dll
- regsvr32 /s jscript.dll
- regsvr32 /s msxml.dll
- regsvr32 /s imgutil.dll
- regsvr32 /s cryptext.dll
- regsvr32 /s inseng.dll
- regsvr32 /s iesetup.dll /i
- regsvr32 /s cryptdlg.dll
- regsvr32 /s actxprxy.dll
- regsvr32 /s dispex.dll
- regsvr32 /s occache.dll
- regsvr32 /s iepeers.dll
- regsvr32 /s urlmon.dll /i
- regsvr32 /s cdfview.dll
- regsvr32 /s webcheck.dll
- regsvr32 /s mobsync.dll
- regsvr32 /s pngfilt.dll
- regsvr32 /s licmgr10.dll
- regsvr32 /s hhctrl.ocx
- regsvr32 /s inetcfg.dll
- regsvr32 /s trialoc.dll
- regsvr32 /s tdc.ocx
- regsvr32 /s MSR2C.DLL
- regsvr32 /s msident.dll
- regsvr32 /s msieftp.dll
- regsvr32 /s xmsconf.ocx
- regsvr32 /s ils.dll
- regsvr32 /s msoeacct.dll
- regsvr32 /s wab32.dll
- regsvr32 /s wabimp.dll
- regsvr32 /s wabfind.dll
- regsvr32 /s oemiglib.dll
- regsvr32 /s directdb.dll
- regsvr32 /s inetcomm.dll
- regsvr32 /s msoe.dll
- regsvr32 /s oeimport.dll
- regsvr32 /s msdxm.ocx
- regsvr32 /s dxmasf.dll
- regsvr32 /s laprxy.dll
- regsvr32 /s l3codecx.ax
- regsvr32 /s acelpdec.ax
- regsvr32 /s mpg4ds32.ax
- regsvr32 /s danim.dll
- regsvr32 /s Daxctle.ocx
- regsvr32 /s lmrt.dll
- regsvr32 /s datime.dll
- regsvr32 /s dxtrans.dll
- regsvr32 /s dxtmsft.dll
- regsvr32 /s wshom.ocx
- regsvr32 /s wshext.dll
- regsvr32 /s vbscript.dll
- regsvr32 /s scrrun.dll mstinit.exe /setup
- regsvr32 /s msnsspc.dll /SspcCreateSspiReg
- regsvr32 /s msapsspc.dll /SspcCreateSspiReg
- echo;
- echo;
- echo 修复完成!
- echo;
- echo 如果仍然存在错误,可以尝试以下办法:
- echo 选择自定义级别,安全设置中把安全级设为“低”。
- echo 并把所有的ActiveX控件项设置为“启动”。
- echo;
- echo 最后,修复完成后,重启浏览器。
- echo;
- echo;
- pause
复制代码
|