Click here to Skip to main content
15,909,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: answer to WhiteSky Pin
Max.Payne20-Apr-07 20:35
Max.Payne20-Apr-07 20:35 
GeneralRe: answer to WhiteSky Pin
Hamid_RT21-Apr-07 5:54
Hamid_RT21-Apr-07 5:54 
QuestionOwner drawn List box...problem in setting item height. Pin
Sameer_Thakur12-Apr-07 0:15
Sameer_Thakur12-Apr-07 0:15 
AnswerRe: Owner drawn List box...problem in setting item height. Pin
CPallini12-Apr-07 20:59
mveCPallini12-Apr-07 20:59 
GeneralRe: Owner drawn List box...problem in setting item height. Pin
Vobulator21-Jul-10 4:23
Vobulator21-Jul-10 4:23 
QuestionRegistry editor Pin
prathuraj12-Apr-07 0:16
prathuraj12-Apr-07 0:16 
AnswerRe: Registry editor Pin
Rajesh R Subramanian12-Apr-07 1:53
professionalRajesh R Subramanian12-Apr-07 1:53 
AnswerRe: Registry editor Pin
Roger Stoltz12-Apr-07 2:29
Roger Stoltz12-Apr-07 2:29 
prathuraj wrote:
i have to find the mozila installed or not in a system.How i find that


I assume you want to know whether Firefox is installed or not and I suggest the following if this is the case:
1. open the "HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox" key in the registry.
2. Read the contents of the "CurrentVersion" value, they wil be used in the next step.
3. Open the key "HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox <CurrentVersion contents from #2>\Main" and read the contents of the "PathToExe" value.
4. Verify that the exe-file exists where it's supposed to.

If everything worked and you could find the exe-file, you have verified that Firefox is properly installed.
If any key is missing, or could not be opened, then you can assume that Firefox is not properly installed.
At first, have a look with the registry editor to see how the keys and values are organized.

As for how to do deal with the registry from your code, I suggest you have a look in the "Registry" section among the articles here[^].


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown

AnswerRe: Registry editor Pin
Hamid_RT19-Apr-07 21:56
Hamid_RT19-Apr-07 21:56 
QuestionProblem with Mnemonics of a Group box Pin
sw@thi12-Apr-07 0:14
sw@thi12-Apr-07 0:14 
QuestionProblem in running Window service Pin
ArunkumarSundaravelu11-Apr-07 23:43
ArunkumarSundaravelu11-Apr-07 23:43 
AnswerRe: Problem in running Window service Pin
bob1697212-Apr-07 5:40
bob1697212-Apr-07 5:40 
QuestionMemory Leak Pin
Rassul Yunussov11-Apr-07 23:30
Rassul Yunussov11-Apr-07 23:30 
QuestionRe: Memory Leak Pin
Mark Salsbery12-Apr-07 7:50
Mark Salsbery12-Apr-07 7:50 
AnswerRe: Memory Leak Pin
Rassul Yunussov12-Apr-07 22:43
Rassul Yunussov12-Apr-07 22:43 
GeneralRe: Memory Leak Pin
Mark Salsbery13-Apr-07 7:23
Mark Salsbery13-Apr-07 7:23 
GeneralRe: Memory Leak Pin
Rassul Yunussov15-Apr-07 18:33
Rassul Yunussov15-Apr-07 18:33 
QuestionKEYEVENTF_UNICODE macro Pin
Syamlal S Nair11-Apr-07 23:20
Syamlal S Nair11-Apr-07 23:20 
AnswerRe: KEYEVENTF_UNICODE macro Pin
Gospodin Baron12-Apr-07 3:19
Gospodin Baron12-Apr-07 3:19 
GeneralRe: KEYEVENTF_UNICODE macro Pin
Syamlal S Nair16-Apr-07 22:47
Syamlal S Nair16-Apr-07 22:47 
Questionprograming with port USB Pin
maheno11-Apr-07 23:12
maheno11-Apr-07 23:12 
AnswerRe: programing with port USB Pin
Rajesh R Subramanian12-Apr-07 1:51
professionalRajesh R Subramanian12-Apr-07 1:51 
Questionloading the whole text file into an array Pin
cyn811-Apr-07 22:44
cyn811-Apr-07 22:44 
AnswerRe: loading the whole text file into an array Pin
toxcct11-Apr-07 23:04
toxcct11-Apr-07 23:04 
GeneralRe: loading the whole text file into an array Pin
cyn811-Apr-07 23:15
cyn811-Apr-07 23:15 

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.