Re: Displaying pdf files



You'll find it in the Delphi help file. Look for TOLEContainer!

"Will" <NoSpam@xxxxxxxxxxxx> wrote in message
news:42723bcc@xxxxxxxxxxxxxxxxxxxxxxxxx
> 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: Comp to view PDF in D7?
    ... Why not use the TOLEContainer for Acrobat Reader? ... With best regards, Mike Shkolnik ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Comp to view PDF in D7?
    ... Why not use the TOLEContainer for Acrobat Reader? ... With best regards, Mike Shkolnik ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Displaying pdf files
    ... What is a TOLEContainer:? ... >> Can anyone tell me how to open and display a pdf file? ... Prev by Date: ...
    (borland.public.delphi.thirdpartytools.general)