Solved

VB Application Setup Wizard - Crystal Reports

Posted on 1998-11-11
4
456 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
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…
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 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…

762 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