Click here to Skip to main content
15,923,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Deriving from CFileDialog Pin
David Crow14-Dec-05 2:44
David Crow14-Dec-05 2:44 
Questionmicrosoft compound document nested Pin
ddzhou13-Dec-05 22:30
ddzhou13-Dec-05 22:30 
QuestionSHChangeNotifyRegister API Pin
ragavan13-Dec-05 21:27
ragavan13-Dec-05 21:27 
AnswerRe: SHChangeNotifyRegister API Pin
deepgeorge13-Dec-05 21:43
deepgeorge13-Dec-05 21:43 
GeneralRe: SHChangeNotifyRegister API Pin
ragavan14-Dec-05 0:14
ragavan14-Dec-05 0:14 
QuestionCombo box and List box Pin
JanakKoshia13-Dec-05 21:05
JanakKoshia13-Dec-05 21:05 
AnswerRe: Combo box and List box Pin
deepgeorge13-Dec-05 21:19
deepgeorge13-Dec-05 21:19 
Answersorry for the earlier post. i did not read ur question properly... Pin
deepgeorge13-Dec-05 21:34
deepgeorge13-Dec-05 21:34 
oh sorry,
i did not go thru ur question properly..

use the ShellExecute/ShellExecuteEx

Eg:
ShellExecute(handle, NULL, <fully_qualified_path_to_folder>, NULL, NULL, SW_SHOWNORMAL);

or

ShellExecute(handle, "open", <fully_qualified_path_to_folder>, NULL, NULL, SW_SHOWNORMAL);

To explore a folder, use:

ShellExecute(handle, "explore", <fully_qualified_path_to_folder>, NULL, NULL, SW_SHOWNORMAL);

To launch the Shell's Find utility for a directory, use:

ShellExecute(handle, "find", <fully_qualified_path_to_folder>, NULL, NULL, 0);

for more info:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shellexecuteex.asp

i am not so sure if v can use "CreateProcess()" to open folders.
if yes, use CreateProcess().




Deep George Zachariah.
Questionhow to access a resource in an .ocx. pls help Pin
deepgeorge13-Dec-05 20:53
deepgeorge13-Dec-05 20:53 
QuestionLinker Question Pin
Rajesh R Subramanian13-Dec-05 19:22
professionalRajesh R Subramanian13-Dec-05 19:22 
AnswerRe: Linker Question Pin
khan++13-Dec-05 20:01
khan++13-Dec-05 20:01 
NewsRe: Linker Question Pin
Rajesh R Subramanian13-Dec-05 20:12
professionalRajesh R Subramanian13-Dec-05 20:12 
Questionhow to make a worker thread Pin
cancerion13-Dec-05 18:40
cancerion13-Dec-05 18:40 
AnswerRe: how to make a worker thread Pin
sunit513-Dec-05 19:06
sunit513-Dec-05 19:06 
GeneralRe: how to make a worker thread Pin
cancerion13-Dec-05 19:15
cancerion13-Dec-05 19:15 
AnswerRe: how to make a worker thread Pin
Rajesh R Subramanian13-Dec-05 19:29
professionalRajesh R Subramanian13-Dec-05 19:29 
GeneralRe: how to make a worker thread Pin
sunit513-Dec-05 23:05
sunit513-Dec-05 23:05 
AnswerRe: how to make a worker thread Pin
Eytukan13-Dec-05 22:27
Eytukan13-Dec-05 22:27 
QuestionOverriding Default printer setup Dialog Pin
mohsin_m13-Dec-05 18:32
mohsin_m13-Dec-05 18:32 
AnswerRe: Overriding Default printer setup Dialog Pin
Aamir Butt13-Dec-05 20:55
Aamir Butt13-Dec-05 20:55 
QuestionHow can i create dll or Lib file in run time Pin
bagavathikumar13-Dec-05 17:28
bagavathikumar13-Dec-05 17:28 
Questionmodal dialog error Pin
followait13-Dec-05 15:21
followait13-Dec-05 15:21 
AnswerRe: modal dialog error Pin
PJ Arends13-Dec-05 15:43
professionalPJ Arends13-Dec-05 15:43 
Questionif m_ListCtrl.GetItemCount=0,How to get the row-index,column-index and rectangle located by (row-index,column-index) the listctrl? Pin
wxshzf13-Dec-05 15:19
wxshzf13-Dec-05 15:19 
QuestionTesting MFC version in preprocessor? Pin
mcondra13-Dec-05 15:16
mcondra13-Dec-05 15:16 

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.