PC Review


Reply
Thread Tools Rate Thread

connecting to pdf files

 
 
sunhealth
Guest
Posts: n/a
 
      29th Jan 2006
Hi all,
I am trying to connect from an access form to an external pdf file so
that it will open in adobe reader.
Any help would be appreciated.
Thanks

 
Reply With Quote
 
 
 
 
Dirk Goldgar
Guest
Posts: n/a
 
      30th Jan 2006
"sunhealth" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)
> Hi all,
> I am trying to connect from an access form to an external pdf file so
> that it will open in adobe reader.
> Any help would be appreciated.
> Thanks


You can probably call the Application.FollowHyperlink method to open it:

Application.FollowHyperlink "C:\My Documents\MyFile.pdf"

Or you could call the Windows ShellExecute API, using the code to be
found here:

http://www.mvps.org/access/api/api0018.htm

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


 
Reply With Quote
 
sunhealth
Guest
Posts: n/a
 
      30th Jan 2006
Thanks Dirk
the application object works like a dream.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting Files Doug Microsoft Excel Misc 3 4th Oct 2009 12:04 AM
connecting files =?Utf-8?B?UGFwYSBKb25haA==?= Microsoft Word Document Management 3 28th Feb 2007 03:40 PM
Re: Connecting 2 pc's to share files etc Robert L [MS-MVP] Windows XP Networking 0 17th Sep 2004 04:28 PM
Where are the Files after connecting to RAS Ola Microsoft Windows 2000 RAS Routing 3 11th Jun 2004 06:44 AM
VPN CONNECTING TO FILES KAT Windows XP Work Remotely 0 30th Nov 2003 09:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:51 PM.