Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB6
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 21:33pm
Des DC533

1 solution

Rate this: bad
good
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!)
  Permalink  
Comments
phil.o at 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 at 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 at 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 at 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
0 Sergey Alexandrovich Kryukov 575
1 Kornfeld Eliyahu Peter 409
2 Maciej Los 369
3 DamithSL 196
4 OriginalGriff 188
0 OriginalGriff 6,353
1 DamithSL 4,854
2 Maciej Los 4,476
3 Kornfeld Eliyahu Peter 4,058
4 Sergey Alexandrovich Kryukov 3,917


Advertise | Privacy | Mobile
Web01 | 2.8.141223.1 | Last Updated 20 Jun 2014
Copyright © CodeProject, 1999-2014
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