Click here to Skip to main content
14,240,610 members

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
memberStefan_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
protectorRichard 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
protectorRichard MacCutchan5-Jun-19 3:38 
GeneralRe: ShellExecute open Pin
Richard MacCutchan5-Jun-19 21:05
protectorRichard 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
protectorRichard 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
protectorRichard 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
protectorRichard MacCutchan6-Jun-19 3:01 
AnswerRe: ShellExecute open Pin
Eddy Vluggen5-Jun-19 1:10
mveEddy 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
protectorRichard 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.