?
Solved

VB Application Setup Wizard - Crystal Reports

Posted on 1998-11-11
4
Medium Priority
?
466 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

752 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