Hi,
I have created an application which creates pdf for the crystal reports. I am using vb 6. The application creates several pdfs from different reports and different parameters. It works fine. But, my problem is while running the application, all pdfs get opened one by one and doesn't get closed.
Can anybody suggest a way to close the pdf before proceeding to create another one?
This is the last part of the code...
crpReport.SelectPrinter "winspool", "Acrobat PDFWriter", "LPT1"
crpReport.PageSetup.PaperSize = crPaperLetter
crpReport.PageSetup.PaperOrientation = iOrin
crpReport.PrintOut False, 1
Thanks very much,
ndp
I have created an application which creates pdf for the crystal reports. I am using vb 6. The application creates several pdfs from different reports and different parameters. It works fine. But, my problem is while running the application, all pdfs get opened one by one and doesn't get closed.
Can anybody suggest a way to close the pdf before proceeding to create another one?
This is the last part of the code...
crpReport.SelectPrinter "winspool", "Acrobat PDFWriter", "LPT1"
crpReport.PageSetup.PaperSize = crPaperLetter
crpReport.PageSetup.PaperOrientation = iOrin
crpReport.PrintOut False, 1
Thanks very much,
ndp