The pdf file isn't opened, but the os shows the Acrobat button choice. Clicking on it doesn't do anything.
procedure TForm1.RunPDFClick(Sender: TObject);
var
p: TTMSFNCPDFLib;
begin
p := TTMSFNCPDFLib.Create;
try
p.BeginDocument(System.IoUtils.tpath.GetDocumentsPath + 'test.pdf');
p.NewPage;
p.EndDocument(True);
finally
p.Free;
end;
end;
Pieter
(Pieter)
2
Due to security the file will not be opened. TMS iCL is available with some native controls that support opening files