Crystal Report OCX Registration-VBForums
Results 1 to 8 of 8

Thread: Crystal Report OCX Registration

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    Saudi Arabia, Gulf side, Qatif
    Posts
    141

    Exclamation

    I have a program using the crystal report OCX, After installing VB6, Every time I run this program the following error occurred:
    Run-time error 339:
    Component 'CRYSTL32.OCX' or one of it's dependencies not correctly registered a file is missing or invalid.
    What could be the problem and how can I fix it.
    Appreciate your help
    Regards


  2. #2
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    ReInstall...

    The best way to solve is reinstall the Crystal Report. It should be able to get it from Visual Basic 6.0 CDROM, although it is not install during the VB setup program.

  3. #3
    New Member
    Join Date
    Jan 2000
    Posts
    6
    Is crystl32.ocx in c:\windows\system32? If it's there, you could try running the command line:

    regsvr32.exe crystl32.ocx

    which I think should register the dll

  4. #4
    New Member
    Join Date
    Jun 2000
    Location
    Melbourne Australia
    Posts
    4
    Put the crystl32.ocx in windows/system directory and goto the run command and type in regsvr32 cryl32.ocx to register activex control. If it still doesn't work use the dependency walker to list require dlls for crystl32.ocx as these may be missing.


  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    Saudi Arabia, Gulf side, Qatif
    Posts
    141

    Fail To Regester

    When I run the regsvr32.exe, The following DLL was required:
    crpe32.dll
    Where can I find this dll?
    Thanks

  6. #6
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    like Chris said, reinstall crystal reports

    the install is on Disc 3 of Visual Studio:
    \COMMON\TOOLS\VB\CRYSREPT

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    Saudi Arabia, Gulf side, Qatif
    Posts
    141
    Thanks All
    I reinstall as suggested and it worked OK
    Thanks again

  8. #8

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    Saudi Arabia, Gulf side, Qatif
    Posts
    141
    Copy all files listed in this Seagate article to the system32 based on the vesion of your crystal report:
    http://support.seagatesoftware.com/l...s/c2002743.asp

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.