A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

opening external programmes from Access



 
 
Thread Tools Display Modes
  #1  
Old July 2nd, 2004, 09:07 PM
Alice Dawson
external usenet poster
 
Posts: n/a
Default opening external programmes from Access

I have linked text files into my database using hyperlinks. WHen I click on the hyperlink in a form, the file is opened using whatever programme is set as the default for that filetype on that PC. However there are two applications that might be used to view and edit the files. I would like to create a command button to open the file using a particular programme - is this possible, and if so, how can I set it up?

Thanks for any advice

Alice
  #2  
Old July 2nd, 2004, 09:36 PM
Lynn Trapp
external usenet poster
 
Posts: n/a
Default opening external programmes from Access

Use the Shell function

Shell("PathToProgram", vbNormalFocus)

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm


"Alice Dawson" wrote in message
...
I have linked text files into my database using hyperlinks. WHen I click

on the hyperlink in a form, the file is opened using whatever programme is
set as the default for that filetype on that PC. However there are two
applications that might be used to view and edit the files. I would like to
create a command button to open the file using a particular programme - is
this possible, and if so, how can I set it up?

Thanks for any advice

Alice



  #3  
Old July 6th, 2004, 06:00 PM
Alice Dawson
external usenet poster
 
Posts: n/a
Default opening external programmes from Access

Thanks for taking the time to answer my question.

Alice

"Lynn Trapp" wrote:

Use the Shell function

Shell("PathToProgram", vbNormalFocus)

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm


"Alice Dawson" wrote in message
...
I have linked text files into my database using hyperlinks. WHen I click

on the hyperlink in a form, the file is opened using whatever programme is
set as the default for that filetype on that PC. However there are two
applications that might be used to view and edit the files. I would like to
create a command button to open the file using a particular programme - is
this possible, and if so, how can I set it up?

Thanks for any advice

Alice




 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 2003 RK General Discussion 12 June 14th, 2004 10:16 AM
Access 2000 DB opening with Access 97 Cathy General Discussion 1 June 8th, 2004 06:16 PM


All times are GMT +1. The time now is 04:35 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.