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!

Exporting To PDF From VB

Status
Not open for further replies.

DiggerDog

Programmer
Nov 24, 2002
60
AU
I'm writing a samll VB program which will run my reports and export them to a disk destination (without user prompting). The problem is I want to export the reports in pdf format. I've tried using PrintFileType to set the file type to pdf but it's not supported

Any Ideas how to get around this

CrystalReport.Destination = crptToFile
CrystalReport.PrintFileType = ??????
CrystalReport.PrintFileName= "C:test.pdf"
CrystalReport.PrintReport
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top