How can I make my program open a file as an user would've clicked on it. So it opens that file with the program that file type is assigned to?
I would like to use WinAPI function for that.
Printable View
How can I make my program open a file as an user would've clicked on it. So it opens that file with the program that file type is assigned to?
I would like to use WinAPI function for that.
Check out ShellExecute.
Thanks. That seems to be what I was looking for.