Click here to Skip to main content
15,893,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Interupting a Loop Pin
Adam Maras11-Jul-09 15:15
Adam Maras11-Jul-09 15:15 
QuestionRe: Interupting a Loop Pin
David Crow11-Jul-09 15:44
David Crow11-Jul-09 15:44 
Questionsocket api's recv and UTF-8 Pin
invictus311-Jul-09 13:04
invictus311-Jul-09 13:04 
AnswerRe: socket api's recv and UTF-8 Pin
Nemanja Trifunovic11-Jul-09 13:41
Nemanja Trifunovic11-Jul-09 13:41 
AnswerRe: socket api's recv and UTF-8 Pin
markkuk12-Jul-09 6:41
markkuk12-Jul-09 6:41 
QuestionCreating MODAL Dialog? Pin
dipuks11-Jul-09 8:54
dipuks11-Jul-09 8:54 
GeneralRe: Creating MODAL Dialog? Pin
josda100011-Jul-09 9:02
josda100011-Jul-09 9:02 
AnswerRe: Creating MODAL Dialog? Pin
Stuart Dootson11-Jul-09 9:12
professionalStuart Dootson11-Jul-09 9:12 
AnswerCMFCRibbonStatusBarPane [geeze] Pin
Ed K11-Jul-09 7:58
Ed K11-Jul-09 7:58 
QuestionGet Default shell command Pin
vikrant kpr11-Jul-09 6:18
vikrant kpr11-Jul-09 6:18 
AnswerRe: Get Default shell command Pin
Stuart Dootson11-Jul-09 6:37
professionalStuart Dootson11-Jul-09 6:37 
AnswerRe: Get Default shell command Pin
«_Superman_»11-Jul-09 16:34
professional«_Superman_»11-Jul-09 16:34 
GeneralRe: Get Default shell command Pin
vikrant kpr11-Jul-09 17:10
vikrant kpr11-Jul-09 17:10 
GeneralRe: Get Default shell command Pin
«_Superman_»11-Jul-09 17:16
professional«_Superman_»11-Jul-09 17:16 
GeneralRe: Get Default shell command Pin
vikrant kpr11-Jul-09 20:07
vikrant kpr11-Jul-09 20:07 
GeneralRe: Get Default shell command Pin
«_Superman_»11-Jul-09 20:10
professional«_Superman_»11-Jul-09 20:10 
GeneralRe: Get Default shell command Pin
vikrant kpr11-Jul-09 20:22
vikrant kpr11-Jul-09 20:22 
that's the issue
cplfile does not have shell command named Open
it has Open with Control Panel shell command
now even with above both items, it is not invoking the control panel item
//ShellExecute(NULL, _T("Open with Control Panel"), _T("c:\\windows\\system32\\main.cpl"), NULL, NULL, SW_SHOW);
ShellExecute(NULL, _T("Open"), _T("c:\\windows\\system32\\main.cpl"), NULL, NULL, SW_SHOW);

it seems
it would require
control.exe to be passed in with open and pass the cpl file as parameter
GeneralRe: Get Default shell command Pin
vikrant kpr11-Jul-09 20:24
vikrant kpr11-Jul-09 20:24 
GeneralRe: Get Default shell command Pin
Rozis11-Jul-09 23:20
Rozis11-Jul-09 23:20 
GeneralRe: Get Default shell command Pin
vikrant kpr13-Jul-09 1:24
vikrant kpr13-Jul-09 1:24 
QuestionShellExecute function? Pin
dipuks11-Jul-09 5:54
dipuks11-Jul-09 5:54 
AnswerRe: ShellExecute function? Pin
Stuart Dootson11-Jul-09 6:06
professionalStuart Dootson11-Jul-09 6:06 
QuestionMFC Exceptions Pin
rrrado11-Jul-09 5:22
rrrado11-Jul-09 5:22 
AnswerRe: MFC Exceptions Pin
Stuart Dootson11-Jul-09 5:36
professionalStuart Dootson11-Jul-09 5:36 
GeneralRe: MFC Exceptions Pin
rrrado11-Jul-09 6:23
rrrado11-Jul-09 6:23 

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.