Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating setup file - vb 6.0 and crystal reports 8.5

Status
Not open for further replies.

ferozy

Programmer
Feb 25, 2003
20
FJ
Hi,

What all is needed and How to make a Setup file to install on Client
computers for VB 6.0 and Crystal Reports.
In my VB Program I have 1 Report Viewer Form.
And I have made several Reports in Crystal Reports 8.5.
In my Program, the user selects the report to view and Clicks on the
"Generate" button.
The "Generate" button is coded to open the report from the Given Path (where
the reports are stored) and it opens in the VB Report Viewer Form.

Please help me.
Its urgent.
Thanks
 
Also what CR dev tool are you using in the VB app?

Best bet, refer to the runtime.hlp file on your system and research the files that need deploying and what fits with your apps functionality.

Once you know what files you need you could use the VB PDW or any other tool to build your install.

Cheers,

SurfingGecko
Home of Crystal Ease
 
I am using CR 8.5 Developer version.

I have used the ODBC method to link the reports to the Access Database.

Then, I call these reports from VB 6.0 and open it in the CRViewer in VB.

Thanks
 
Okay so this makes it nice an simple then.

You can use the VB PDW for an easy solution or any other install tool and refer to the runtime.hlp file for what files you need to include and be aware of.

Rather than list out all the files here, have a look in the help. It is staight forward

Cheers,

SurfingGecko
Home of Crystal Ease
 
Hi,

I followed the runtime.hlp file and created a Setup for my program.

A Support Folder
A Winzip File
and A Setup.exe was created.

I tried to test it on another PC that has win 2000 and no VB.
On my PC it has Win XP.

Anyway, when I click Setup.exe on another PC, Copying files 1 of 8 comes up, after a while a setup info comes up
"setup cannot continue because some system files are out of date on your system.Click OK if you would like setup to update these files for you now.You will need to restart windows before you can run setup again.Click CANCEL to exit setup without updating system files"

I clicked OK and after few seconds it told me I have to restart or I cannot run the setup.
Ok I restarted and tried to run the setup again and the whole process starts all over again.

Now What am I doing wrong?

Also, While creating the Setup from vb PDW the MDAC 2.0 is added and it says to install on Win 98, DCOM98is needed, does this mean that I have to add DCOM98 as well when creating the Setup Package.

Please Help me, I will appreciate your help.

Also, in Crystal Runtime Hellp file
"Method Used to Access the Crystal Report Engine", I have chosen "Report Designer Component" (Iam using ODBC) is this right.

My VB program also access the Acess Database thru ODBC.

This is the first time Iam doing this, I didnt think it would be this complicated.

Urgent Help, Thanks.


 
I suspect your App is going to need more than just the CR runtime files to operate.

On win9x in order to run MDAC you need to run DCOM first. I would make this a requirement of your setup, but it is going to be tough to get all this built into the PDW.

As for the tool do not make synonymous your data connection method and the CR tool. You should know what you are using as the tool. If you are making a declare with craxdrt.application then it is the RDC.

For ODBC the only Crystal piece will be the p2sodbc.dll. The rest is MDAC/DCOM

Without knowing your application and it's dependencies, this will be a tough topic to spell out for you here.

Cheers,

SurfingGecko
Home of Crystal Ease
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top