Solved

VB Setup is unable to register CRYSTL16.OCX

Posted on 1998-04-29
2
1,217 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

695 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