Open Outside Application from Filename

  • Thread starter Thread starter Jim
  • Start date Start date
J

Jim

After reading many of the other posts, I realize what a
novice I am. Pardon my simpleton question.

I have finally mastered the common dialog box, ie the file
open, save, etc, and can send the selected filepath to a
field on a form. I would like to be able to double click
the field and open the file just like clicking an icon on
the desktop. I do not want to limit the type of file in the
field . I have used the getobject command but get errors.
Do I need to write code to test the file type and then
command the particular application to load or is there a
system command thatwill do that for me and then load the
appropriate application?
TIA
 
Jim,

Take a look at the FollowHyperLink method in the Help file; it will do what you
want. You might also do a google search as this methid has been discussed here
on several occasions.
 
Back
Top