954,505 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

run external program asociated with extension

I want to run external program to work with a file, which is asociated with that file extension.
Example : if file is *.jpg, then I want to run image viewer.
I want to do it under Windows.

ondrej97
Newbie Poster
1 post since Apr 2007
Reputation Points: 10
Solved Threads: 0
 

use ShellExecute() see here and here

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You