How do I open a file in its default program
How do I programmatically open a file in its default prog开发者_如何学Goram (I'm using Windows XP).
For example, opening *.txt will open the file in notepad.
the function ShellExecute
Has been provided for this.
精彩评论