Re: Northwind Employee Form and PDFs



Geeze leave it to you to come up with a 5 minute solution that probably took
me more than 6 hours of research and Acrobat automation programming /
debuging to get working.

The nice thing with this solution is that the user need only have the
Acrobat Reader and Internet Explorer installed. A full copy of Acrobat is
not required!

--
Ron W
www.WorksRite.com
"Stephen Lebans" <ForEmailGotoMy.WebSite.-WWWdotlebansdot...@xxxxxxxxxxxx>
wrote in message news:e4DYcuYEGHA.1736@xxxxxxxxxxxxxxxxxxxxxxx
> 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: Acrobat 7 and FoxPro
    ... I don't know anything about the Adobe Acrobat control you mention. ... However, if you want to print from VFP to a PDF file, why not use PDF995 as ... Demo showing how to print a Fox report to a PDF ...
    (microsoft.public.fox.programmer.exchange)
  • Re: java.security.AccessControlException issue
    ... because this site will be used to display answer sets for students. ... public class SampleReader extends Viewer { ... // Construct a acrobat object aka Acrobar Reader ... // to open a local or remote PDF file. ...
    (comp.lang.java.programmer)
  • Re: Weurdess >> Pages > Preview / Adobe Reader or Acrobat
    ... again as a PDF. ... Then the dark gray text will display as dark gray. ... curious as to why this is happening and what it is about Reader and Acrobat ...
    (comp.sys.mac.apps)
  • Re: Northwind Employee Form and PDFs
    ... 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 ... >> PDF files internally are not anything like most bitmap files, ...
    (microsoft.public.access.formscoding)
  • Re: full screen view on overhead projector?
    ... If you convert the file to a PDF, you should be able to use the Full ... Screen view in Acrobat (Reader) to display it. ...
    (microsoft.public.word.pagelayout)