PDF opens then immediately minimizes

  • Thread starter Thread starter gymphil
  • Start date Start date
G

gymphil

I am using the following code to open a PDF file:
Application.FollowHyperlink Application.CurrentProject.Path & "\" &
Me.FileControlName & ".pdf"
The PDF opens and immediately minimizes leaving the form showing.
I can open PDF's using links in a table but am having difficulties using
this method. Would be grateful for any ideas.
Many thanks
 
gymphil said:
I am using the following code to open a PDF file:
Application.FollowHyperlink Application.CurrentProject.Path & "\" &
Me.FileControlName & ".pdf"
The PDF opens and immediately minimizes leaving the form showing.
I can open PDF's using links in a table but am having difficulties using
this method. Would be grateful for any ideas.
Many thanks

That seems strange. Try browsing to the pdf, and then double click on
it....does it launch and display ok?

The above code should work fine....

I don't think it access that is minimizing the pdf.......
 
I had the same problem in the past and ChoonBoy is correct. There is a known
issue with certain versions of Acrobat. By installing all the available
updates, the problem should go away.

If this does not remedy your problem please post back with the version of
your reader and also answer Albert's questions as they will help us help you.
--
Hope this helps,

Daniel Pineault
http://www.cardaconsultants.com/
For Access Tips and Examples: http://www.devhut.net
Please rate this post using the vote buttons if it was helpful.
 
Thanks for all your comments and advise.

I am using Access 2000 with abode reader 8.1.1

In answer to one question, I can browse the PDF file and it opens fine. It
also open fine if I link it in the database table, but not on a form using
code!

I am in the process of upgrading to Acrobat pro 9 and will see if that makes
any difference!

Will let you know how I get on

Thank you all for your help
 
Back
Top