Question : Seagate Crystal Report 7.0

Hello.

I would like to ask if do you really need to register your Crystal Report even if you're only using the ocx's and dll's for distribution?

Also i am having problems when installing the crystl32.ocx when i used it in a setup file in VB. i always get the error "Error registering crstl32.ocx", how can i rememdy this?

Thank you..

DC1777

Answer : Seagate Crystal Report 7.0

So long as you have a legal license for CR there is no real need to register it except to get support.  Since CR7 is no longer supported by Crystal there should be no porblems.

crystl32.ocx has several dependencies that must be present for you to register it.  Since you haven't registered your copy of CR you cannot search the extensive Crystal knowledge base.

6.0 and 7.0 (16-bit) | version 6.0.0.606

Dependencies

           Commdlg.dll
           Crpaige.dll
           Crpe.dll
           Ctl3dv2.dll
           Gdi.dll
           Mfcoleui.dll
           Oc25.dll
           Ole2.dll
           Shell.dll
           User.dll
           Ver.dll
           Win87em.dll

7.0 (32-bit) | version 6.1.0.609

Dependencies

           Comctl32.dll
           Comdlg32.dll
           Crpe32.dll
           Implode.dll
           Mfc42.dll
           Msvcrt.dll
           Msvcrt20.dll
           Ole32.dll
           Oleaut32.dll
           Oledlg.dll
           Olepro32.dll



From the CD knowledge base
http://support.crystaldecisions.com/library/kbase/articles/c2003252.asp
Synopsis

A Microsoft Visual Basic 6 application uses the Crystal ActiveX (OCX) control. The application is packaged using the Microsoft Package & Deployment Wizard to create a distribution set.
 
Running the setup on a Microsoft Windows 98 computer without Crystal Reports generates the error:

"An error occurred while registering the file crystl32.ocx"

The setup completes, however attempting to run a report results in an error and the report fails to run.


Solution

The error occurs due to how the Microsoft Package & Deployment Wizard sets up the Implode.dll file. Implode.dll is a dependency file for registering the Crystal ActiveX (OCX) control (Crystl32.ocx).

To solve the error, run the Package & Deployment Wizard again and change the install destination for the Implode.dll from $(AppPath) to $(SysPath).

When using the Package & Deployment Wizard, the Implode.dll is set to $(AppPath) or the application path by default. Since the Crystl32.ocx is installed to the $(WinSysPath) or system path by default, attempting to register the Crystl32.ocx will fail since it cannot find the Implode.dll file. Registered files search in their own folder and the $(WinSysPath) for dependency files -- in this case, these are the same folder for the Crystl32.ocx.

mlmcc

Random Solutions  
 
programming4us programming4us