Click here to Skip to main content
15,899,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How do I display ElementName in the different position of PlotArea in of 2D-NTGraph ACtive? Pin
Richard MacCutchan11-Apr-10 22:22
mveRichard MacCutchan11-Apr-10 22:22 
AnswerRe: How do I display ElementName in the different position of PlotArea in of 2D-NTGraph ACtive? Pin
Cedric Moonen11-Apr-10 22:23
Cedric Moonen11-Apr-10 22:23 
QuestionWindows Exlporer Pin
hellogany11-Apr-10 20:45
hellogany11-Apr-10 20:45 
AnswerRe: Windows Exlporer Pin
Iain Clarke, Warrior Programmer11-Apr-10 21:17
Iain Clarke, Warrior Programmer11-Apr-10 21:17 
AnswerRe: Windows Exlporer Pin
@Intersect☺™12-Apr-10 3:20
professional@Intersect☺™12-Apr-10 3:20 
GeneralRe: Windows Exlporer Pin
hellogany12-Apr-10 17:38
hellogany12-Apr-10 17:38 
GeneralRe: Windows Exlporer Pin
hellogany13-Apr-10 0:04
hellogany13-Apr-10 0:04 
QuestionGet default user name when "Run as administrator" Pin
sireesha_sree11-Apr-10 20:09
sireesha_sree11-Apr-10 20:09 
Hi,
Am developing a VC++ application where i need to get the username.

I have tried using GetUserName() and also USERNAME. But when i run the application on Vista as "Run as administrator", this is returning the admin's username and not the username with which the system is logged in.

Any suggestions on how to get the username with which the system is logged in when the application is "Run as administrator"?

Thanks
AnswerRe: Get default user name when "Run as administrator" Pin
«_Superman_»11-Apr-10 20:22
professional«_Superman_»11-Apr-10 20:22 
GeneralRe: Get default user name when "Run as administrator" Pin
sireesha_sree11-Apr-10 20:24
sireesha_sree11-Apr-10 20:24 
GeneralRe: Get default user name when "Run as administrator" Pin
«_Superman_»12-Apr-10 7:46
professional«_Superman_»12-Apr-10 7:46 
AnswerRe: Get default user name when "Run as administrator" Pin
_AnsHUMAN_ 12-Apr-10 1:31
_AnsHUMAN_ 12-Apr-10 1:31 
QuestionRe: Get default user name when "Run as administrator" Pin
David Crow12-Apr-10 4:44
David Crow12-Apr-10 4:44 
QuestionWIN32 c++ Pin
humais11-Apr-10 19:29
humais11-Apr-10 19:29 
AnswerRe: WIN32 c++ Pin
«_Superman_»11-Apr-10 20:04
professional«_Superman_»11-Apr-10 20:04 
GeneralRe: WIN32 c++ Pin
humais11-Apr-10 20:13
humais11-Apr-10 20:13 
GeneralRe: WIN32 c++ Pin
«_Superman_»11-Apr-10 20:16
professional«_Superman_»11-Apr-10 20:16 
GeneralRe: WIN32 c++ Pin
humais11-Apr-10 20:33
humais11-Apr-10 20:33 
QuestionOpenGL Pin
ratprita11-Apr-10 19:09
ratprita11-Apr-10 19:09 
AnswerRe: OpenGL Pin
Cedric Moonen11-Apr-10 20:52
Cedric Moonen11-Apr-10 20:52 
QuestionHow to set up a long time of the interval timer ? [modified] Pin
wangningyu11-Apr-10 17:21
wangningyu11-Apr-10 17:21 
AnswerRe: How to set up a long time of the interval timer ? Pin
«_Superman_»11-Apr-10 20:07
professional«_Superman_»11-Apr-10 20:07 
GeneralRe: How to set up a long time of the interval timer ? Pin
wangningyu11-Apr-10 20:37
wangningyu11-Apr-10 20:37 
AnswerRe: How to set up a long time of the interval timer ? Pin
David Crow12-Apr-10 2:58
David Crow12-Apr-10 2:58 
GeneralRe: How to set up a long time of the interval timer ? Pin
wangningyu12-Apr-10 3:13
wangningyu12-Apr-10 3:13 

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.