Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to add text to a progress bar? (i have looked at the examples here and still have problems) Pin
Joaquín M López Muñoz6-Sep-04 23:51
Joaquín M López Muñoz6-Sep-04 23:51 
GeneralRe: How to add text to a progress bar? (i have looked at the examples here and still have problems) Pin
m_dale7-Sep-04 22:03
m_dale7-Sep-04 22:03 
GeneralReterive OCX properties through HWND Pin
mohandasgandhiG6-Sep-04 22:51
mohandasgandhiG6-Sep-04 22:51 
QuestionHow to import library? Pin
eli150219796-Sep-04 22:09
eli150219796-Sep-04 22:09 
AnswerRe: How to import library? Pin
Arsalan Malik6-Sep-04 23:10
Arsalan Malik6-Sep-04 23:10 
GeneralRe: How to import library? Pin
eli150219797-Sep-04 2:20
eli150219797-Sep-04 2:20 
GeneralShellExecute(…) Pin
anderslundsgard6-Sep-04 21:58
anderslundsgard6-Sep-04 21:58 
GeneralRe: ShellExecute(…) Pin
Darren_vms6-Sep-04 22:59
Darren_vms6-Sep-04 22:59 
I would recommend a read of

http://www.codeproject.com/system/newbiespawn.asp

But it would be something like
(Code Taken from the article above)

SHELLEXECUTEINFO ShExecInfo = {0};
ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS;
ShExecInfo.hwnd = NULL;
ShExecInfo.lpVerb = NULL;
ShExecInfo.lpFile = "c:\\MyProgram.exe";
ShExecInfo.lpParameters = "";
ShExecInfo.lpDirectory = NULL;
ShExecInfo.nShow = SW_SHOW;
ShExecInfo.hInstApp = NULL;
ShellExecuteEx(&ShExecInfo);
WaitForSingleObject(ShExecInfo.hProcess,INFINITE);


Regards

Darren
GeneralRe: ShellExecute(…) Pin
Darren_vms6-Sep-04 23:05
Darren_vms6-Sep-04 23:05 
Generalabout the key of POWER on the keyboard Pin
yingkou6-Sep-04 21:18
yingkou6-Sep-04 21:18 
GeneralRe: about the key of POWER on the keyboard Pin
David Crow7-Sep-04 2:55
David Crow7-Sep-04 2:55 
Generalthanks a lot Pin
yingkou7-Sep-04 15:13
yingkou7-Sep-04 15:13 
Questionhow to use SEH Pin
yingkou6-Sep-04 21:08
yingkou6-Sep-04 21:08 
AnswerRe: how to use SEH Pin
Joaquín M López Muñoz6-Sep-04 21:16
Joaquín M López Muñoz6-Sep-04 21:16 
Generalthanks a lot Pin
yingkou6-Sep-04 21:35
yingkou6-Sep-04 21:35 
QuestionHow to import library? Pin
eli150219796-Sep-04 20:42
eli150219796-Sep-04 20:42 
AnswerRe: How to import library? Pin
Arsalan Malik6-Sep-04 20:48
Arsalan Malik6-Sep-04 20:48 
GeneralRe: How to import library? Pin
eli150219796-Sep-04 20:58
eli150219796-Sep-04 20:58 
GeneralWindows Fonts Pin
Anonymous6-Sep-04 20:31
Anonymous6-Sep-04 20:31 
QuestionHow i can do this?? Pin
zahid_ash6-Sep-04 20:24
zahid_ash6-Sep-04 20:24 
QuestionHow to kill a process through VC++ code? Pin
premsridhar6-Sep-04 20:16
premsridhar6-Sep-04 20:16 
AnswerRe: How to kill a process through VC++ code? Pin
Arsalan Malik6-Sep-04 20:44
Arsalan Malik6-Sep-04 20:44 
GeneralURGENT - Please Help Pin
jasu6-Sep-04 20:15
jasu6-Sep-04 20:15 
GeneralPath to system directories Pin
Imtiaz Murtaza6-Sep-04 20:12
Imtiaz Murtaza6-Sep-04 20:12 
GeneralRe: Path to system directories Pin
Joaquín M López Muñoz6-Sep-04 20:14
Joaquín M López Muñoz6-Sep-04 20:14 

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.