Click here to Skip to main content
13,096,157 members (51,702 online)
Rate this:
Please Sign up or sign in to vote.
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 17-Jun-14 20:33pm
Des DC533

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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!)
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170813.1 | Last Updated 20 Jun 2014
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100