Solved

VB Application Setup Wizard - Crystal Reports

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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
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…

696 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