You could perhaps use the Report.AfterPrint event to call the Windows API function ShellExecute method if you want to maybe open the text file in notepad after it has been exported. See the ShellExecute topic in the Windows API help for more information.
The PDF Device in RB 9.02 uses the ShellExecute method to open PDF files automatically once they have been created. If you would like to see how this method is used, take a look at the TppPDFDevice.ShellExec routine located in the ppPDFDevice.pas file.
Comments
You could perhaps use the Report.AfterPrint event to call the Windows API
function ShellExecute method if you want to maybe open the text file in
notepad after it has been exported. See the ShellExecute topic in the
Windows API help for more information.
The PDF Device in RB 9.02 uses the ShellExecute method to open PDF files
automatically once they have been created. If you would like to see how
this method is used, take a look at the TppPDFDevice.ShellExec routine
located in the ppPDFDevice.pas file.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com