Hi, I want to invoice the reader, let say Acrobat Reader , after the report had been print to PDF. Which event in the report builder should I put the code to?
If you are using RB 9.02, there is a property in the TppReport.PDFSettings named OpenPDFFile that when set to True, will open the created PDF file using your default viewer after it has been exported.
This is either something that the third party export tool has already implemented or something that you will have to implement yourself. If you want to do this yourself, take a look at the Windows API function ShellExecute. This should allow you to accomplish what you need.
Comments
If you are using RB 9.02, there is a property in the TppReport.PDFSettings
named OpenPDFFile that when set to True, will open the created PDF file
using your default viewer after it has been exported.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I am using RB 7.04, is there any way to do it?
Regards
Vincent
This is either something that the third party export tool has already
implemented or something that you will have to implement yourself. If you
want to do this yourself, take a look at the Windows API function
ShellExecute. This should allow you to accomplish what you need.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com