By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,197 Members | 1,151 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,197 IT Pros & Developers. It's quick & easy.

application.followhyperlink bizarre problem...

P: 2
Has anyone ever come across this problem before, or got any insight as to what may be causing it...


I am using application.followhyperlink to open files in a directory from an MS Access form...

If i set the button to open .doc files they open without a hitch.

However, simply then changing the extension to .pdf the relevant file no longer opens.

Adobe acrobat seems to initialise then shut is self immediately?

And this has happened on more than one pc so i dont think it can be a software issue?

Anyone got any guesses?

All help is well appreciated!

Cheers

Jonathan
Jan 15 '07 #1
Share this Question
Share on Google+
2 Replies


MMcCarthy
Expert Mod 10K+
P: 14,534
Jonathan

I could be wrong but I don't think this code can be used with pdf's. Maybe someone can contradict me.

Mary
Jan 15 '07 #2

ADezii
Expert 5K+
P: 8,638
Has anyone ever come across this problem before, or got any insight as to what may be causing it...


I am using application.followhyperlink to open files in a directory from an MS Access form...

If i set the button to open .doc files they open without a hitch.

However, simply then changing the extension to .pdf the relevant file no longer opens.

Adobe acrobat seems to initialise then shut is self immediately?

And this has happened on more than one pc so i dont think it can be a software issue?

Anyone got any guesses?

All help is well appreciated!

Cheers

Jonathan
You can easily Open .pdf Files using the Application.FollowHyperlink Method. If I read you correctly, you are arbitrarily changing the .doc extension of the relevant files to .pdf and expect Adobe Reader to open it. This will never happen since Word Type Documents (*.doc) are not supported by Adobe Reader (*.pdf). It must be a "True" .pdf File if you expect Adobe to Open it. I hope that I did not misunderstand what you were saying, and if I did I apologize. Please get back to me on this - you aroused my curiosity.
Jan 16 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.