VB6/Crystal Reports PDF Export
|
Original Message
|
Name: byrnesit
Date: March 30, 2006 at 04:30:49 Pacific
Subject: VB6/Crystal Reports PDF ExportOS: XPSP2CPU/Ram: PM1.7Model/Manufacturer: Dell |
Comment: Hey guys, I am using the crystal reports 8.5 ocx object in VB6 to do reports. I can display the reports on the screen and export to a PDF, but I cant figure out how to export to a PDF in code (so the user doesnt have to exort manually). I can do it with word files etc, but its a bit useless as my report setup doesnt export to word properly. Is there a way to do this? If so, how? Thanks Matt
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: jhunt303
Date: April 5, 2006 at 02:34:30 Pacific
Subject: VB6/Crystal Reports PDF Export |
Reply: (edit)I've not done it in VB 6 but have in Delphi, First I was able to configure the PDF in the VCL 'Export Options' then added the code: Crpe1.ExportOptions.FileName := 'c:\Exports\Export.pdf'; Crpe1.Export; This may be completely different, but I'm using Crystal 8.5 as well, so hopefully it is similar...
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: byrnesit
Date: April 6, 2006 at 17:41:43 Pacific
Subject: VB6/Crystal Reports PDF Export |
Reply: (edit)Couldnt find the 'vcl export options'.. was it in the report or was it in the crystalreport object? Thanks
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: