Click here to Skip to main content
16,020,626 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to check if running under administrator account on Vista from MFC app? Pin
mkoroudjiev24-Nov-08 7:55
mkoroudjiev24-Nov-08 7:55 
GeneralRe: How to check if running under administrator account on Vista from MFC app? Pin
Mark Salsbery24-Nov-08 10:54
Mark Salsbery24-Nov-08 10:54 
GeneralRe: How to check if running under administrator account on Vista from MFC app? Pin
mkoroudjiev24-Nov-08 18:50
mkoroudjiev24-Nov-08 18:50 
GeneralRe: How to check if running under administrator account on Vista from MFC app? Pin
Mark Salsbery25-Nov-08 7:04
Mark Salsbery25-Nov-08 7:04 
Questioninstallation path Pin
NewVC++24-Nov-08 1:03
NewVC++24-Nov-08 1:03 
AnswerRe: installation path Pin
_AnsHUMAN_ 24-Nov-08 1:38
_AnsHUMAN_ 24-Nov-08 1:38 
AnswerRe: installation path Pin
krmed24-Nov-08 3:25
krmed24-Nov-08 3:25 
AnswerRe: installation path Pin
Jijo.Raj24-Nov-08 6:44
Jijo.Raj24-Nov-08 6:44 
Do you want to get the path of an installed application which is listed in the Add/Remove programs?

If yes, then,
Windows keep the un-installation information under this registry key - HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall. Under this key for each item there will be DisplayName subkey, which holds the name of application and InstallLocation subkey, which holds the path of the installed application.

Refer this article[^] about how to iterate through the registry uninstall information and get those values.

Regards,
Jijo.

_____________________________________________________

http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.

QuestionListview item Pin
ashishmax4724-Nov-08 0:32
ashishmax4724-Nov-08 0:32 
AnswerRe: Listview item Pin
_AnsHUMAN_ 24-Nov-08 0:56
_AnsHUMAN_ 24-Nov-08 0:56 
GeneralRe: Listview item Pin
ashishmax4724-Nov-08 1:24
ashishmax4724-Nov-08 1:24 
GeneralRe: Listview item Pin
_AnsHUMAN_ 24-Nov-08 1:31
_AnsHUMAN_ 24-Nov-08 1:31 
GeneralRe: Listview item Pin
ashishmax4724-Nov-08 1:42
ashishmax4724-Nov-08 1:42 
GeneralRe: Listview item Pin
_AnsHUMAN_ 24-Nov-08 1:52
_AnsHUMAN_ 24-Nov-08 1:52 
GeneralRe: Listview item Pin
ashishmax4724-Nov-08 2:01
ashishmax4724-Nov-08 2:01 
GeneralRe: Listview item Pin
_AnsHUMAN_ 24-Nov-08 17:28
_AnsHUMAN_ 24-Nov-08 17:28 
GeneralRe: Listview item Pin
ashishmax4724-Nov-08 18:53
ashishmax4724-Nov-08 18:53 
Questionbutton coordinates for office applications e.g. word, excel etc. Pin
SQU24-Nov-08 0:29
SQU24-Nov-08 0:29 
Questionfire an event Pin
prasadbuddhika23-Nov-08 23:59
prasadbuddhika23-Nov-08 23:59 
JokeRe: fire an event [modified] Pin
CPallini24-Nov-08 0:13
mveCPallini24-Nov-08 0:13 
AnswerRe: fire an event Pin
Code-o-mat24-Nov-08 1:02
Code-o-mat24-Nov-08 1:02 
QuestionError executing function ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, NULL, NULL) Pin
Md Saleem Navalur23-Nov-08 23:54
Md Saleem Navalur23-Nov-08 23:54 
AnswerRe: Error executing function ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, NULL, NULL) Pin
Ahmed Charfeddine24-Nov-08 3:08
Ahmed Charfeddine24-Nov-08 3:08 
GeneralRe: Error executing function ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, NULL, NULL) Pin
Md Saleem Navalur24-Nov-08 19:57
Md Saleem Navalur24-Nov-08 19:57 
GeneralRe: Error executing function ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, NULL, NULL) Pin
Ahmed Charfeddine24-Nov-08 21:47
Ahmed Charfeddine24-Nov-08 21:47 

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.