Click here to Skip to main content
15,881,424 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear all,
I'm newbie in VB6. As I mentioned in the title.
I got the error of "crystl32.ocx could not be loaded".
I tried to re-install my crystal report package. And installed the crystl32 with the vb6 cd.
And I had register it.
My OS is window 7 Professional 32-bit.
But the error still come out. Can someone provide me other solution(s)?

Thank you.
Posted

1 solution

Try removing the reference to crystl32.ocx from your project then add it again - it's worked for me before now.

Also make sure that you used the correct version of Regsrv32.exe to register the OCX - it's the one in SysWOW64 (the 32-bit version) that you need to use, not the one in System32 (the 64-bit version!)
 
Share this answer
 
Comments
phil.o 20-Jun-14 17:35pm    
My 5!
It's always silly to remember that 64-bits system files are in System32, when 32-bits system files are in SysWOW64.
An invitation to pain and suffering, imho.
CHill60 20-Jun-14 17:39pm    
Thank you! It took me ages to get the 32/64 naming convention into my head ... and I still occasionally forget to explicitly pick the right one :headslap:
phil.o 20-Jun-14 17:45pm    
Three days ago, I was trying to install an old ERP on a 64 bits server and had to register an ODBC system connection.
Guess what... ^^
Des DC 5-Jul-14 0:38am    
Hi,chill60. sorry for late reply. I got the solution by your way. But i re-check all my reference after all. :) Thanks anyway.

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