Click here to Skip to main content
14,667,362 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Global Event in C++ Pin
Member 142210416-Jun-19 23:15
MemberMember 142210416-Jun-19 23:15 
AnswerRe: Global Event in C++ Pin
CPallini5-Jun-19 22:50
mveCPallini5-Jun-19 22:50 
GeneralRe: Global Event in C++ Pin
Member 142210415-Jun-19 23:45
MemberMember 142210415-Jun-19 23:45 
GeneralRe: Global Event in C++ Pin
CPallini5-Jun-19 23:54
mveCPallini5-Jun-19 23:54 
GeneralRe: Global Event in C++ Pin
Member 142210415-Jun-19 23:58
MemberMember 142210415-Jun-19 23:58 
GeneralRe: Global Event in C++ Pin
CPallini6-Jun-19 0:09
mveCPallini6-Jun-19 0:09 
GeneralRe: Global Event in C++ Pin
Stefan_Lang6-Jun-19 21:56
mveStefan_Lang6-Jun-19 21:56 
QuestionShellExecute open Pin
_Flaviu4-Jun-19 22:28
Member_Flaviu4-Jun-19 22:28 
I am trying to open any kind of file using

ShellExecute(NULL, _T("open"), sPath + _T("\\") + sText, NULL, NULL, SW_SHOWNORMAL);


and is working well, but there a little issue: when I am trying to open an image file, I get always the "How do you want to open this file" dialog, everytime … why ? Of course, when I am trying to open this kind of image file from y windows explorer, is open with my default program, Windows Photo Viewer.

Is there any kind of parameters to put on ShellExecute ? Please note that I use this for ever kind of file, including exe files.
AnswerRe: ShellExecute open Pin
Richard MacCutchan4-Jun-19 23:01
mveRichard MacCutchan4-Jun-19 23:01 
GeneralRe: ShellExecute open Pin
_Flaviu4-Jun-19 23:44
Member_Flaviu4-Jun-19 23:44 
GeneralRe: ShellExecute open Pin
Richard MacCutchan5-Jun-19 3:38
mveRichard MacCutchan5-Jun-19 3:38 
GeneralRe: ShellExecute open Pin
Richard MacCutchan5-Jun-19 21:05
mveRichard MacCutchan5-Jun-19 21:05 
GeneralRe: ShellExecute open Pin
_Flaviu6-Jun-19 0:24
Member_Flaviu6-Jun-19 0:24 
GeneralRe: ShellExecute open Pin
Richard MacCutchan6-Jun-19 1:55
mveRichard MacCutchan6-Jun-19 1:55 
GeneralRe: ShellExecute open Pin
_Flaviu6-Jun-19 2:52
Member_Flaviu6-Jun-19 2:52 
GeneralRe: ShellExecute open Pin
Richard MacCutchan6-Jun-19 2:56
mveRichard MacCutchan6-Jun-19 2:56 
GeneralRe: ShellExecute open Pin
_Flaviu6-Jun-19 6:45
Member_Flaviu6-Jun-19 6:45 
GeneralRe: ShellExecute open Pin
Richard MacCutchan6-Jun-19 3:01
mveRichard MacCutchan6-Jun-19 3:01 
AnswerRe: ShellExecute open Pin
Eddy Vluggen5-Jun-19 1:10
professionalEddy Vluggen5-Jun-19 1:10 
GeneralRe: ShellExecute open Pin
_Flaviu5-Jun-19 19:52
Member_Flaviu5-Jun-19 19:52 
AnswerRe: ShellExecute open Pin
jschell8-Jun-19 4:42
Memberjschell8-Jun-19 4:42 
GeneralRe: ShellExecute open Pin
_Flaviu10-Jun-19 20:47
Member_Flaviu10-Jun-19 20:47 
GeneralRe: ShellExecute open Pin
Richard MacCutchan10-Jun-19 22:39
mveRichard MacCutchan10-Jun-19 22:39 
GeneralRe: ShellExecute open Pin
jschell15-Jun-19 3:14
Memberjschell15-Jun-19 3:14 
QuestionDevice Running Windows CE 6.0 Pin
Member 142210414-Jun-19 17:08
MemberMember 142210414-Jun-19 17:08 

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.