Click here to Skip to main content
15,915,788 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: FAQ Pin
CPallini23-Jul-08 21:12
mveCPallini23-Jul-08 21:12 
AnswerRe: FAQ Pin
David Crow24-Jul-08 3:15
David Crow24-Jul-08 3:15 
Questionremove system default icon from message box Pin
VCProgrammer23-Jul-08 20:54
VCProgrammer23-Jul-08 20:54 
AnswerRe: remove system default icon from message box Pin
Cedric Moonen23-Jul-08 21:01
Cedric Moonen23-Jul-08 21:01 
GeneralRe: remove system default icon from message box Pin
VCProgrammer23-Jul-08 21:09
VCProgrammer23-Jul-08 21:09 
GeneralRe: remove system default icon from message box Pin
Cedric Moonen23-Jul-08 21:26
Cedric Moonen23-Jul-08 21:26 
Questionrunas Pin
pooja_friends23-Jul-08 20:51
pooja_friends23-Jul-08 20:51 
AnswerRe: runas Pin
Naveen23-Jul-08 21:07
Naveen23-Jul-08 21:07 
pooja_friends wrote:
can i achieve this via VC++.


Yes


SHELLEXECUTEINFO shExecInfo;
shExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
shExecInfo.fMask = NULL;
shExecInfo.hwnd = NULL;
shExecInfo.lpVerb = _T("runas");
shExecInfo.lpFile = _T("notepad.exe");
shExecInfo.lpParameters = _T("c:\\boot.ini");
shExecInfo.lpDirectory = NULL;
shExecInfo.nShow = SW_MAXIMIZE;
shExecInfo.hInstApp = NULL;
ShellExecuteEx(&shExecInfo)



GeneralRe: runas Pin
pooja_friends24-Jul-08 0:15
pooja_friends24-Jul-08 0:15 
GeneralRe: runas Pin
Graham Bradshaw24-Jul-08 2:46
Graham Bradshaw24-Jul-08 2:46 
GeneralRe: runas Pin
pooja_friends24-Jul-08 3:21
pooja_friends24-Jul-08 3:21 
GeneralRe: runas Pin
Graham Bradshaw24-Jul-08 3:32
Graham Bradshaw24-Jul-08 3:32 
QuestionPrinting Problem for USB Pin
S_Murali23-Jul-08 20:42
S_Murali23-Jul-08 20:42 
AnswerRe: Printing Problem for USB Pin
CPallini23-Jul-08 23:15
mveCPallini23-Jul-08 23:15 
Questionhow to compile projects ? Pin
staticv23-Jul-08 20:41
staticv23-Jul-08 20:41 
AnswerRe: how to compile projects ? Pin
Cedric Moonen23-Jul-08 20:59
Cedric Moonen23-Jul-08 20:59 
GeneralRe: how to compile projects ? [modified] Pin
staticv23-Jul-08 23:25
staticv23-Jul-08 23:25 
GeneralRe: how to compile projects ? Pin
staticv24-Jul-08 5:50
staticv24-Jul-08 5:50 
GeneralRe: how to compile projects ? Pin
Mark Salsbery24-Jul-08 6:08
Mark Salsbery24-Jul-08 6:08 
GeneralRe: how to compile projects ? Pin
staticv24-Jul-08 6:09
staticv24-Jul-08 6:09 
GeneralRe: how to compile projects ? Pin
Mark Salsbery24-Jul-08 6:14
Mark Salsbery24-Jul-08 6:14 
GeneralRe: how to compile projects ? Pin
Cedric Moonen24-Jul-08 7:37
Cedric Moonen24-Jul-08 7:37 
QuestionInstant Thread End Pin
john563223-Jul-08 20:02
john563223-Jul-08 20:02 
AnswerRe: Instant Thread End Pin
sudhir_Kumar23-Jul-08 20:14
sudhir_Kumar23-Jul-08 20:14 
GeneralRe: Instant Thread End Pin
john563223-Jul-08 20:19
john563223-Jul-08 20:19 

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.