Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

VB Application Setup Wizard - Crystal Reports

Posted on 1998-11-11
4
Medium Priority
?
469 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
[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
  • 2
4 Comments
 

Author Comment

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

Accepted Solution

by:
CraigLazar earned 400 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

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
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…
Suggested Courses

598 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