• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 245
  • Last Modified:

Execute file based on associated program

I want to be able to run files based on what their associated program is. For example, I have selected a MDB databse file, how can I have it 'executed' so that access opens it and it runs?

Cheers,

`Andy
0
Andy1
Asked:
Andy1
  • 2
1 Solution
 
Shiju SasidharanAssoc Project ManagerCommented:
you can use shellexecute API

http://vb-helper.com/howto_shellexecute.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now