Solved

VB Application Setup Wizard - Crystal Reports

Posted on 1998-11-11
4
448 Views
Last Modified: 2008-03-17
I am using VB5.0 and Crystal Rep ver 5.x for my application When I make the setup file using VB Appl Setup Wizard, it creates the setup files succesfully. While loading the application on a new machine, it gives not problem. But when I run some report (crystal report) from the application,it says the crystal report registry is not found or Invalid.

If I load Crystal Report 5.x completely on the machine then there is no problem.

What I suspect is that the Application Wizard is not capturing all the required crystal report dependent files. Is there anyway to know what are the required files and how to get all of them included in the setup files.

Please help.
0
Comment
Question by:deveshb
  • 2
  • 2
4 Comments
 

Author Comment

by:deveshb
ID: 1444434
Edited text of question
0
 
LVL 4

Accepted Solution

by:
CraigLazar earned 200 total points
ID: 1444435
Hi deveshb
Funny yesterday i had exactly the same problem . What is happening is that for some reason your app when the reports are activated they look in the directory c:\program files\seagate crystal reports
which is bloody stupid . So there are a few ways around this
1) manually copy the crystal reports dll into the above directory on the target machine and your app will work . i tried to edit where the dlls are placed whn i used the setup wozard but it would not allow me
2) or you can create your own setup (not the setup wizard) but thru the setup tool kit in your vb directory . Here you copy the directory and then place it into your apps directory . Then edit the setup1.frm form and you manually tell vb to load reguired dll and say there destination paths .Go thru vb online or the help file on exact details .

the way i found this out is that i have a special file utility
and it tells you exactly what files an aplication useses and i found that my app kept on looking for the crystal dlls in the wrong directory so if you want it mail me at clazar@softnet.co.za

3) edit the path in your project file to those dlls to look in the c:\windows\system directory onstead of the c:\program files\seagate crystal reports\



Another way u can test it u say u installed crystal on the target pc . go into the crystal directory on the pc and rename all the dll's (i usually just add a 1 at the end of each file) then run your app again and i can almost gaurantee that u will have the same error


anyway hope this helps you mate
craig


0
 

Author Comment

by:deveshb
ID: 1444436
could you please enlist the Crystal dll files which I need to copy.

Please also let me know how to change the path in the project file as you mention in option 3)
thanks
0
 
LVL 4

Expert Comment

by:CraigLazar
ID: 1444437
Here are the list of dll's
ccdlg.dll
ccres.dll
CDO32.dll
craxddt.dll
craxdrt.dll
Craxdui.dll
CRViewer.dll
ISSupprt.dll

well try using notepad or another editor and open your vbp file adn see in there if there are any references to files that point to the c:\program files\seagate crystal report
if there are (first back up your whole project before u do this)
then change the path o windows system path c:\windows\system

try that
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

707 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

15 Experts available now in Live!

Get 1:1 Help Now