Re: Displaying pdf files



What is a TOLEContainer:?

Thanks
Will

"Mike Shkolnik" <mshkolnik2002@xxxxxxx> wrote in message
news:426f8615$1@xxxxxxxxxxxxxxxxxxxxxxxxx
> > Can anyone tell me how to open and display a pdf file ?
> If you want to open the external application, use the ShellExecute:
> ShellExecute(0, 'open', 'c:\aaa.pdf', nil, nil, SW_SHOWNORMAL);
>
> But if you want to view the pdf-file within your form, use the
> TOLEContainer:
> yourTOLEContainer.CreateObjectFromFile('c:\aaa.pdf', False)
>
> --
> With best regards, Mike Shkolnik
> EMail: mshkolnik@xxxxxxxxxxxxx
> http://www.scalabium.com
>
>


.



Relevant Pages

  • Re: Displaying pdf files
    ... but using a TOLEContainer does Adobe acrobat have to be installed ... inorder to view the pdf file? ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Displaying pdf files
    ... You'll find it in the Delphi help file. ... Look for TOLEContainer! ... >> With best regards, Mike Shkolnik ... Prev by Date: ...
    (borland.public.delphi.thirdpartytools.general)