Click here to Skip to main content
15,885,915 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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?
Posted

1 solution

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[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900