A
April
Sometimes I think I must just like banging my head against the wall?!
After over a week of trying to create a .pdf from several Word .docs in
Access VBA, I thought I was ready for Client testing. Then I loaded the
application onto their machine and something soooo simple that works on my
machine doesn't work on theirs.
All I'm trying to do is :
Application.FollowHyperlink strInput, , True
(where strInput is the path and file name of a .pdf file).
I can manually go to that directory and double click on the .pdf and opens
up the Adobe Acrobat Reader with the file just fine. I checked by file type
associations anyway, and all was correct. When I do it from the Access
application, I can see that it seems to flash open the Reader (or something -
too fast to tell), but instantly closes. I saw a post on this in my search
before posting this one from back on 9/7/2006 "Launching Acrobat" from
"Angus", but his resolution was essentially to check for every possible
version of the Reader and doing a Shell based on this check (but obviously
not opening the specific file). I'm not too keen on this as with the next
version of the Reader, it will stop working again - besides, I would like the
file to open. I tried it with a .doc version of the .pdf file and it opened
Word and the necessary file just fine (so I know its not a file system
permission thing), but not Adobe and the .pdf file?!
Very frustrating, if anyone has any suggestions.
Thanks,
April
After over a week of trying to create a .pdf from several Word .docs in
Access VBA, I thought I was ready for Client testing. Then I loaded the
application onto their machine and something soooo simple that works on my
machine doesn't work on theirs.
All I'm trying to do is :
Application.FollowHyperlink strInput, , True
(where strInput is the path and file name of a .pdf file).
I can manually go to that directory and double click on the .pdf and opens
up the Adobe Acrobat Reader with the file just fine. I checked by file type
associations anyway, and all was correct. When I do it from the Access
application, I can see that it seems to flash open the Reader (or something -
too fast to tell), but instantly closes. I saw a post on this in my search
before posting this one from back on 9/7/2006 "Launching Acrobat" from
"Angus", but his resolution was essentially to check for every possible
version of the Reader and doing a Shell based on this check (but obviously
not opening the specific file). I'm not too keen on this as with the next
version of the Reader, it will stop working again - besides, I would like the
file to open. I tried it with a .doc version of the .pdf file and it opened
Word and the necessary file just fine (so I know its not a file system
permission thing), but not Adobe and the .pdf file?!
Very frustrating, if anyone has any suggestions.
Thanks,
April