Solved

VB Setup is unable to register CRYSTL16.OCX

Posted on 1998-04-29
2
1,212 Views
Last Modified: 2008-02-01
Once I had finished my VB-application I started to distibute it by making the setup disks using the 'Application Setup Wizard' . The first time these disks produced a pretty good costumer application (all target systems run under Windows NT 4.0 using ODBC - 2.1.. with database on a SQL Server, the reports are generated by Crystal Reports 5.0 ). And now the problem: On some PCs the setup didn't run well, because a error occurs in the last phase of the setup process. Setup is unable to register the CRYSTL16.OCX control and will not end correctly (NT was just new installed on the target machines). Do you known about difficulties like that ? and how to avoid the registration error ?

thanks Peter
0
Comment
Question by:phs
2 Comments
 
LVL 4

Expert Comment

by:zsi
ID: 1433834
Have you asked Seagate's technical support?
0
 
LVL 6

Accepted Solution

by:
clifABB earned 100 total points
ID: 1433835
Crystal has always had a problem with their dependency file.  For some reason they keep leaving out some required files.  Check to make sure ALL required files are contained in your setup.

Here is a copy of the run-time file requirements:
CRPE32.DLL      interface to the print engine - 32-bit 32bit
MSVCRT20.DLL      Microsoft VC++ Run Time library
CRXLAT32.DLL      include only if using the ToWords functions
CO2C40??.DLL      ?? = Language code
P2BBND.DLL      include only if binding Crystal Reports Custom Control to the Visual Basic Data Control
CTL3D32.DLL      Version 2 of 3 D control (needs to be in windows/system32 directory)
PG32.DLL      Include only if you have graphs/charts in your reports
The following files are required if you are doing the following in your application with Crystal Reports:

File      Description
CRYSTLxx.OCX      Using the Crystal ActiveX (Where xx is 16 or 32 [bits])
PG.DLL      Using Graphs in your reports
CO2C40EN.DLL      Using OLE objects in your reports (32bit)
CRXLATE.DLL      Using the function ToWords (x, # of places) in your report
P2BBND.DLL      binding a Crystal Custom Control to a VB data control (32bit)

In addition, there are some other files which are required based on the database you are using.

For ODBC:
ODBC32.DLL      Microsoft ODBC DLL
ODBCINT.DLL      Resource DLL
MFC30.DLL      MFC DLL
P2SODBC.DLL      Crystals ODBC
ODBC.INI*      ODBC INI file
ODBCINST.INI      Install INI file
CTL3D32.DLL      (NT Only)

for SQLServer:
dbnmpntw.dll      SQL Server Driver file
SQLSRV32.DLL      SQL Server Driver file
MSVCRT20.DLL      Microsoft VC++ Run Time library
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now