Solved

Error during Install of VB4 application - Help?

Posted on 1997-08-04
2
302 Views
Last Modified: 2008-02-26
Please Help!!

      I created setup program using the Setup Wizard (I am using VB4).
      At the end of the install, during the "updating your system" phase,
      I receive an error registering the DLL and OCX files related to
      Crystal Reports.

      It works fine if I install on a system with Visual Basic already
installed,
      but not on a user's system (no VB installed).

      What should I do???
0
Comment
Question by:chasman
2 Comments
 

Author Comment

by:chasman
ID: 1429596
I put a new question (with more details) on 8/5.  It is titled
"Why am I  having this SETUP problem?"

See that question for more details.
0
 

Accepted Solution

by:
JHS earned 50 total points
ID: 1429597
I assume that you are not using the Crystal that shipped with VB, but an upgrade. Edit the SWDepend.ini file and make sure that the following entries are under the {CRYSTL16.OCX] heading:

UsesN=CRPE.DLL
UsesN=CRXLATE.DLL
UsesN=UXDDISK.DLL
UsesN=UXFDIF.DLL
UsesN=UXFREC.DLL
UsesN=UXFSEPV.DLL
UsesN=UXFTEXT.DLL
UsesN=PDBDAO.DLL
UsesN=PDCTDAO.DLL
UsesN=PDIRDAO.DLL
UsesN=PDSODBC.DLL
UsesN=PDBBND.DLL
UsesN=MFCOLEUI.DLL

where N is the next following number. From my experience only the last one is missing, but the ocx needs that file to register the file. Run the setup wizard again and make sure that all the above files are included.

Before running the setup program on the client machine, delete the Crystal OCX from the windows\system directory.

Hope this helps


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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

895 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

17 Experts available now in Live!

Get 1:1 Help Now