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

run the associated application for a file from access vba

P: n/a
Hi Everyone,
I have a work order database . I am trying to allow user's to attach files
to the workorder (ie cad dwq's , text files , pdfs, pictures etc) I have the
attachment logic resolved but now I want to go to the workorder and open any
selected attachment from access using the associate application( ie .txt run
notepad with the txt file as the file it opens , run adobe's reader when the
file has a .pdf extension etc).
I haven't been able to find anything on the web or in my reference books.

--
Danny C. Sperry

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200612/1

Dec 19 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Try Application.FollowHyperlink ("C:\File.txt")

Chris Nebinger
Dsperry101 via AccessMonster.com wrote:
Hi Everyone,
I have a work order database . I am trying to allow user's to attach files
to the workorder (ie cad dwq's , text files , pdfs, pictures etc) I have the
attachment logic resolved but now I want to go to the workorder and open any
selected attachment from access using the associate application( ie .txt run
notepad with the txt file as the file it opens , run adobe's reader when the
file has a .pdf extension etc).
I haven't been able to find anything on the web or in my reference books.

--
Danny C. Sperry

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200612/1
Dec 19 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.