Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old December 19th, 2006, 05:15 PM
Dsperry101 via AccessMonster.com
Guest
 
Posts: n/a
Default run the associated application for a file from access vba

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

  #2  
Old December 19th, 2006, 06:05 PM
chris.nebinger@gmail.com
Guest
 
Posts: n/a
Default Re: run the associated application for a file from access vba

Try Application.FollowHyperlink ("C:\File.txt")



Chris Nebinger


Dsperry101 via AccessMonster.com wrote:
Quote:
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
 

Bookmarks

Thread Tools

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles