Clicky

Hi,
I have developed an Access Application that uses Adobe to display .pdf documents using the following VBA Code:

strExePath = "C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe"
Shell "" & strExePath & " " & strDocPath & strDocumentName & "", vbMaximizedFocus

This of course works with Adobe 9.0

Question:
How do I modify the code so it will automatically apply to any version of Adobe?

Thanks,

Biggles1

asked 10/31/2011 08:23

Biggles1's gravatar image

Biggles1 ♦♦


9 Answers:
have you tried using

followhyperlink  strDocPath & strDocumentName
link

answered

capricorn1's gravatar image

capricorn1

I am not familiar with 'followhyperlink'
link

answered 2011-10-31 at 05:32:10

Biggles1's gravatar image

Biggles1

did you try it ?
link

answered 2011-11-01 at 02:13:24

capricorn1's gravatar image

capricorn1

Thanks Capricorn1 for your quick response.  It worked perfectly!

Biggles1
link

answered 2011-11-01 at 04:59:30

Biggles1's gravatar image

Biggles1

Live and learn!

link

answered 2011-11-01 at 06:17:01

Biggles1's gravatar image

Biggles1

Biggles1,

you made a request to accept your own post as the correct answer !
link

answered 2011-11-01 at 06:17:38

capricorn1's gravatar image

capricorn1

NO! I acceped Capricorn1's solution.  I did NOT object.  This is an error on my part.

I REPEAT:

I AM ACCEPTING CAPRICORN1'S SOLUTION WHICH WORKS PERFECTLY WELL

Sorry for any misunderstanding.

Biggles1
link

answered 2011-11-01 at 06:28:07

Biggles1's gravatar image

Biggles1

Biggles1,
click on the Request Attention above and ask for help to change your request..
link

answered 2011-11-02 at 02:44:17

capricorn1's gravatar image

capricorn1

Thanks.
link

answered 2011-11-02 at 04:48:22

Biggles1's gravatar image

Biggles1

Your answer
[hide preview]

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×14
×83

Asked: 10/31/2011 08:23

Seen: 348 times

Last updated: 11/05/2011 09:16