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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to deploy cr8.5 with my application 2

Status
Not open for further replies.

GerritR

Technical User
Jun 18, 2002
41
NL
Hello,

I wrote a pr in vb6 and used cr7.0 with it. that worked fine. Now I wanted to export one of my reports as a .pdf file, and while this is impossible I bought and installed CR 8.5 Now when I have deployed my app to another machine it crashes the program. I deployed crviewer.dll and craxddrt.dll and also craxdrt.dll When I de-install craxdrt.dll nothing happens anymore The vb-deployment wizard only sees dependencies to the first 2 dll's
I also deployed te dependencie files for the three dll.

Thanks, Gerrit
 
Did you use the CR 8.5 runtime components in your project?

Did you deploy the required dll's for the required export format? (crtslv.dll, exportmodeller.dll, ...)?

hth,
- Ido

CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
I deployed the following:

crviewer.dll
craxddrt.dll
craxdrt.dll
crdesignerctrl.dll
mfc42.dll
msvcrt.dll
msvcp60.dll
comctl32.dll
comdlg32.dll
msvcirt.dll
implode.dll
sscsdk80.dll
crpaig80.dll
pg32conv.dll
crxlat32.dll
p2smon.dll

Is this enough, or did I miss something

Regards,
Gerrit
 
Gerrit:

To export to .PDF you need to include crxf_pdf.dll

If you did the full install it should be located in the \Windows\Crystal sub directory.

Cascabel
 
Thanks for your help.

I can now print the reports to a printer
I can also select another printer and print to that too
But I am still unable to export to .pdf or .txt

What do I miss ?

Here is my new deployment list :

asycfilt.dll comct332.ocx
comcat.dll comdlg32.ocx
comctl32.dll crystl32.ocx
craxdrt.dll dbgrid32.ocx
craxxdrt.dll mschrt.ocx
crpaig80.dll mscomct2.ocx
crpe32.dll mscomctl.ocx
crviewer.dll mscomm32.ocx
crxf_pdf.dll msdatgrd.ocx
dao360.dll msdatgrd.ocx
expsrv.dll msdatlst.ocx
implode.dll msflxgrd.ocx
mfc42.dll mshflxgd.ocx
msado15.dll mci32.ocx
msbind.dll msinet.ocx
msderun.dll msmapi32.ocx
msjet40.dll msmask32.ocx
msjint40.dll mswinsck.ocx
msjter40.dll picclp32.ocx
msjtes40.dll sysinfo.ocx
msrd2x40.dll tabctl32.ocx
msrd3x40.dll
msrepl40.dll stdole2.tlb
msstdfmt.dll
msvbvm60.dll
msvcirt.dll
msvcp60.dll
msvcrt.dll
mswdat10.dll
mswstr10.dll
olepro32.dll
oleaut32.dll
p2smon.dll
pg32conv.dll
sscsdk80.dll
vb5db.dll
vbajet32.dll


Thanks, Gerrit.
 
Yep you're right

I can make a .pdf !
That's great.

But exporting to .txt still doesn't work
Not even with the executable on the disign machine.
But it does work when I run my program in vb

I wrote this code:

Faktuur_Naam = Trim(Str(Staffel.Recordset.faktuurnr)) + ".pdf"
Faktuur_Report.ExportOptions.FormatType = crEFTPortableDocFormat
Faktuur_Report.ExportOptions.DestinationType = crEDTDiskFile
Faktuur_Report.ExportOptions.DiskFileName = Faktuur_Naam
Faktuur_Report.Export False

Faktuur_Report.ExportOptions.FormatType = crEFTCharSeparatedValues
Faktuur_Report.ExportOptions.CharFieldDelimiter = "\\"
Faktuur_Report.ExportOptions.DestinationType = crEDTDiskFile
Faktuur_Report.ExportOptions.DiskFileName = "test.txt"
Faktuur_Report.Export False


Is this correct ?

Thanks,
Gerrit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top