Re: Northwind Employee Form and PDFs

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I think you could insert the MS Browser control and display the PDF's within
the control providing you can currently view PDF docs within Internet
Explorer.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


"WayneS" <WayneS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D82679B1-6CA5-4A6D-A669-D8931BF56E93@xxxxxxxxxxxxxxxx
> Thanks Ron,
>
> I would be happy to display the PDF outside MS Access. I will try this.
>
> Thanks again,
>
> Wayne
>
>
> "Ron Weiner" wrote:
>
>> PDF files internally are not anything like most bitmap files, and so
>> therefore you will not be able to use an Access image control to display
>> them. In a previous project I was able to display a PDF inside Access
>> directly on a form, BUT my solution required that a FULL version of Adobe
>> PDF (not just the free reader) be installed on the machine. If this
>> hurdle
>> is not to high I would be happy to share the technique and the code I
>> used.
>>
>> Most people are happy to be able to display the PDF OUTSIDE of the Access
>> application. This is usually accomplished using either the ShellExecute
>> API
>> or Access FollowHyperlink.
>>
>> --
>> Ron W
>> www.WorksRite.com
>> "WayneS" <WayneS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:91E63779-6416-473F-8200-A4E6BF8126A5@xxxxxxxxxxxxxxxx
>> > MS Access 2003
>> >
>> > Can I display a set of PDF files instead of bitmap files in the
>> > Northwind
>> > Employee form?
>> >
>> > Here is what I have so far.
>> >
>> > I modified the getFileName routine to add pdf files to the list that is
>> > displayed. I added this line to getFileName: .Filters.Add "PDFs",
>> "*.pdf"
>> > This appears to work as the names of the pdf files are displayed in my
>> > 'Select Report' window.
>> >
>> > The Control Source of the Text Box named 'ImagePath' is 'PDFImage'.
>> > PDFImage is a field in my table that corresponds to the 'Photo' field
>> > in
>> > Northwind. The field contains the path and name of the pdf file I want
>> > to
>> > display.
>> >
>> > I referenced the Microsoft Office 11.0 Object Library.
>> >
>> > No errors are thrown but the PDF file is not displayed in my image
>> > object
>> > named 'ImageFrame'.
>> >
>> > Thanks,
>> > Wayne
>> >
>> >
>>
>>
>>


.



Relevant Pages

  • Re: pdf files do not display correctly
    ... but the display on the screen is messed up. ... whatever software is used to display the PDF. ... PDF files can contain an "page view on open" setting that ... way of setting this parameter other than using hyperref. ...
    (comp.text.tex)
  • Re: pdf in java Viewing... Not a good experience
    ... > BUT I need to know the external pdf viewers name ... This code is austensibly to open a url in a browser, but on Windows it will ... static class to display a URL in the system browser. ...
    (comp.lang.java.gui)
  • Re: Northwind Employee Form and PDFs
    ... Acrobat Reader and Internet Explorer installed. ... > I think you could insert the MS Browser control and display the PDF's ... > the control providing you can currently view PDF docs within Internet ...
    (microsoft.public.access.formscoding)
  • Re: Embedding a PDF OLE object in PowerPoint 2003
    ... I am an Access programmer and i want to display PDF documents created in my ... Access application which display custom made graphs in a powerPoint slide. ... Dim ppPres As PowerPoint.Presentation ...
    (microsoft.public.powerpoint)
  • JEditorPane and HTMLEditorKit
    ... I'm using JavaHelp to display html pages and would like to use it also ... for pdf files. ... load a PdfEditorKit wich would load the pdf in a img tag. ...
    (comp.lang.java.gui)