在VBE中重新配置组件 [英] Reconfiguring Components within VBE

查看:83
本文介绍了在VBE中重新配置组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是VB的新手。



我的窗口错过了一些组件。注册这些组件时会出现以下错误:



无法加载:C:/windows\system32 \crysteal.ocx
$ b注册dll组件(如ieframe.dll,puiobj.dll,mshtml.dll)时$ b给出了错误:



已加载的模块但是调用了DllregisterServer失败,错误代码为0x80004001



我关心某人,他告诉我你必须在VBE中重新配置组件....



我的问题是如何在VBE中重新配置组件?

I'm new to VB.

My window missed some components. While registering these components gives me the following error:

"failed to load": C:/windows\system32\crysteal.ocx
while registering dll components like (ieframe.dll, puiobj.dll, mshtml.dll) gives the error:

"the module which was loaded but the call to DllregisterServer failed with error code 0x80004001"

I'm concerned with someone and he told me you have to reconfigure the components within VBE....

My question is how to reconfigure the components within VBE?

推荐答案

我唯一一次看到需要重新配置IDE适用于客户端/服务器应用程序的DCOM,我不认为这适用于此。



我也不相信你遇到关于crystal.ocx的错误你正在注册ieframe.dll等 - 这些都与Internet Explorer有关。



我的建议是安装/重新安装来自VB6安装光盘的Crystal Reports(我认为是磁盘3) - 从内存中我认为默认情况下不会包含它,但如果是,那么你的安装已经损坏并且需要修复。



如果您仍然遇到ieframe.dll等问题,那么您应该卸载/重新安装您正在使用的任何版本的Internet Explorer - MSDN网站上会有适合您版本的说明。 />


另外,如果您的帐户在计算机上没有管理权限,则在使用regsrv32.exe时会经常报告错误...请使用适当的登录重试。 />


另一个常见的问题是该项依赖的dll之一尚未注册... Depends.exe可以为您找到它 - 再次可以从MSDN获得并且是免费的。



还要注意不再支持VB6开发环境 - 它可以在Windows 7及更低版本上运行,但通常不会一些问题。考虑更新到更强大的开发工具,例如Visual Studio Express,可以免费在此处下载 [ ^ ]和水晶报告安装这里 [ ^ ]
The only time I've seen a need to reconfigure the IDE was for DCOM for client/server applications and I don't think that applies here.

Nor am I convinced that you got the error regarding crystal.ocx when you were registering ieframe.dll etc - these are related to Internet Explorer.

My advice would be to install/reinstall Crystal Reports from your VB6 install CDs (Disk 3 I think) - from memory I don't think it is included by default, but if it was then your installation is corrupt and needs to be fixed.

If you are still having problems with ieframe.dll etc then you should uninstall/reinstall whichever version of Internet Explorer you are using - there will be instructions on the MSDN website appropriate to your version.

As an aside, frequently errors are reported when using regsrv32.exe if your account does not have administrative rights on the machine... try again using an appropriate logon.

Another common problem is that one of the dll's that the item depends upon has not been registered ... Depends.exe can find this out for you - again it's available from MSDN and is free.

Also be aware that the VB6 development environment is no longer supported - it will work on Windows 7 and below, but often not without some issues. Consider updating to a more robust development tool such as Visual Studio Express - which is free to download here[^] and the crystal reports install is here[^]


这篇关于在VBE中重新配置组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆