Click here to Skip to main content
15,887,946 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multiple access to MS SQL Database Pin
__yash__25-Sep-07 18:53
professional__yash__25-Sep-07 18:53 
QuestionHow to run an exe file. Pin
Exelioindia23-Sep-07 22:52
Exelioindia23-Sep-07 22:52 
AnswerRe: How to run an exe file. Pin
_AnsHUMAN_ 23-Sep-07 22:55
_AnsHUMAN_ 23-Sep-07 22:55 
GeneralRe: How to run an exe file. [modified] Pin
Exelioindia23-Sep-07 23:44
Exelioindia23-Sep-07 23:44 
AnswerRe: How to run an exe file. Pin
nbugalia23-Sep-07 22:56
nbugalia23-Sep-07 22:56 
GeneralRe: How to run an exe file. Pin
Exelioindia23-Sep-07 23:44
Exelioindia23-Sep-07 23:44 
GeneralRe: How to run an exe file. Pin
nbugalia24-Sep-07 0:03
nbugalia24-Sep-07 0:03 
GeneralRe: How to run an exe file. Pin
Exelioindia24-Sep-07 0:05
Exelioindia24-Sep-07 0:05 
Thanks for your help.

I tried the below code:

MessageBox(NULL, "Before!", "Invalid Key", MB_OK | MB_ICONINFORMATION);
HINSTANCE hInst = ShellExecute(NULL,"Open","C:\\Winnt\\Notepad.exe","C:\\xxx.txt","",SW_MAXIMIZE);
MessageBox(NULL, "After!", "Invalid Key", MB_OK | MB_ICONINFORMATION);

For me the both Message boxes are displayed, but not the exe was not opening.

Plz help me

Know is Drop, Unknown is Ocean

GeneralRe: How to run an exe file. Pin
nbugalia24-Sep-07 0:10
nbugalia24-Sep-07 0:10 
GeneralRe: How to run an exe file. [modified] Pin
Exelioindia24-Sep-07 0:22
Exelioindia24-Sep-07 0:22 
GeneralRe: How to run an exe file. Pin
David Crow24-Sep-07 3:14
David Crow24-Sep-07 3:14 
AnswerRe: How to run an exe file. Pin
David Crow24-Sep-07 3:13
David Crow24-Sep-07 3:13 
Questiontry-catch handling Pin
Mary Chennai23-Sep-07 22:41
Mary Chennai23-Sep-07 22:41 
AnswerRe: try-catch handling Pin
Russell'23-Sep-07 23:08
Russell'23-Sep-07 23:08 
AnswerRe: try-catch handling [modified] Pin
nbugalia23-Sep-07 23:29
nbugalia23-Sep-07 23:29 
GeneralRe: try-catch handling Pin
Signal-926-Sep-07 15:18
Signal-926-Sep-07 15:18 
QuestionProblem by resizing CFormView derived class Pin
Nelek23-Sep-07 22:31
protectorNelek23-Sep-07 22:31 
AnswerA Bypass founded, but still curious Pin
Nelek23-Sep-07 23:12
protectorNelek23-Sep-07 23:12 
Questioncant open d3d9.h file Pin
vasu_ever23-Sep-07 21:56
professionalvasu_ever23-Sep-07 21:56 
AnswerRe: cant open d3d9.h file Pin
Cedric Moonen23-Sep-07 22:02
Cedric Moonen23-Sep-07 22:02 
QuestionRe: cant open d3d9.h file Pin
David Crow24-Sep-07 3:16
David Crow24-Sep-07 3:16 
AnswerRe: cant open d3d9.h file Pin
Hamid_RT24-Sep-07 3:42
Hamid_RT24-Sep-07 3:42 
QuestionShellExecute function Pin
AnayKulkarni23-Sep-07 21:26
AnayKulkarni23-Sep-07 21:26 
QuestionRe: ShellExecute function Pin
Rajesh R Subramanian23-Sep-07 21:30
professionalRajesh R Subramanian23-Sep-07 21:30 
AnswerRe: ShellExecute function Pin
Waldermort23-Sep-07 21:30
Waldermort23-Sep-07 21:30 

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.