Click here to Skip to main content
15,944,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Prevent Screen Capturing Pin
JudyL_MD8-Sep-10 13:06
JudyL_MD8-Sep-10 13:06 
GeneralRe: Prevent Screen Capturing Pin
Niklas L8-Sep-10 21:43
Niklas L8-Sep-10 21:43 
GeneralRe: Prevent Screen Capturing Pin
Emilio Garavaglia8-Sep-10 5:39
Emilio Garavaglia8-Sep-10 5:39 
GeneralRe: Prevent Screen Capturing Pin
Moak8-Sep-10 6:33
Moak8-Sep-10 6:33 
General[OT] Re: Prevent Screen Capturing Pin
David Crow8-Sep-10 9:25
David Crow8-Sep-10 9:25 
GeneralRe: Prevent Screen Capturing Pin
Emilio Garavaglia13-Sep-10 1:41
Emilio Garavaglia13-Sep-10 1:41 
AnswerRe: Prevent Screen Capturing Pin
Maximilien8-Sep-10 2:48
Maximilien8-Sep-10 2:48 
QuestionHow to execute an external program based on file extension Pin
William Engberts8-Sep-10 0:12
William Engberts8-Sep-10 0:12 
Hi all,

I have an MFC program that (amongst others) stores some files with different types (like .msg, .doc, .eml etc) When the user selects one such files, I would like to start the relevant software to open that file much like what happens when I doubleclick on a file from the explorer.
How do I do such a thing? (one: how do I find-out which program to start based on the file's extension and two: what is the easiest way to start that program?)

Thanks in advance
William
AnswerRe: How to execute an external program based on file extension Pin
Niklas L8-Sep-10 0:36
Niklas L8-Sep-10 0:36 
GeneralRe: How to execute an external program based on file extension Pin
William Engberts8-Sep-10 22:08
William Engberts8-Sep-10 22:08 
AnswerRe: How to execute an external program based on file extension Pin
KingsGambit8-Sep-10 0:38
KingsGambit8-Sep-10 0:38 
JokeRe: How to execute an external program based on file extension Pin
Iain Clarke, Warrior Programmer8-Sep-10 21:00
Iain Clarke, Warrior Programmer8-Sep-10 21:00 
GeneralRe: How to execute an external program based on file extension Pin
William Engberts8-Sep-10 22:11
William Engberts8-Sep-10 22:11 
QuestionWM_PAINT [modified] Pin
Krauze7-Sep-10 16:35
Krauze7-Sep-10 16:35 
AnswerRe: WM_PAINT Pin
Luc Pattyn7-Sep-10 17:01
sitebuilderLuc Pattyn7-Sep-10 17:01 
GeneralRe: WM_PAINT Pin
Krauze7-Sep-10 18:14
Krauze7-Sep-10 18:14 
GeneralRe: WM_PAINT Pin
Chandrasekharan P7-Sep-10 20:03
Chandrasekharan P7-Sep-10 20:03 
GeneralRe: WM_PAINT Pin
Cedric Moonen7-Sep-10 20:17
Cedric Moonen7-Sep-10 20:17 
GeneralRe: WM_PAINT Pin
Iain Clarke, Warrior Programmer8-Sep-10 2:00
Iain Clarke, Warrior Programmer8-Sep-10 2:00 
GeneralRe: WM_PAINT Pin
Krauze8-Sep-10 4:08
Krauze8-Sep-10 4:08 
GeneralRe: WM_PAINT Pin
Emilio Garavaglia8-Sep-10 2:09
Emilio Garavaglia8-Sep-10 2:09 
GeneralRe: WM_PAINT Pin
Cedric Moonen8-Sep-10 2:32
Cedric Moonen8-Sep-10 2:32 
QuestionHow to align output to text file in vb.net Pin
Andraw Tang7-Sep-10 12:49
Andraw Tang7-Sep-10 12:49 
AnswerRe: How to align output to text file in vb.net Pin
Tim Craig7-Sep-10 17:31
Tim Craig7-Sep-10 17:31 
AnswerRe: How to align output to text file in vb.net Pin
Cedric Moonen7-Sep-10 20:18
Cedric Moonen7-Sep-10 20:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.