You are not logged in.
Pages: 1
Hello,
how to execute default PDF reader program after create a pdf file with pdf engine?
thanks to all ..
Offline
See how it's implemented in SQLite3Pages, when the LaunchAfter parameter is TRUE:
function TGDIPages.ExportPDF(aPdfFileName: TFileName; ShowErrorOnScreen: boolean;
LaunchAfter: boolean): boolean;
(...)
PDF.SaveToFile(PDFFileName);
finally
PDF.Free;
end;
if LaunchAfter then
ShellExecute(Application.MainForm.Handle,'open',Pointer(PDFFileName),
nil,nil,SW_NORMAL);
(....)
Offline
thanks ..
Offline
Pages: 1