Click here to Skip to main content
15,892,072 members
Home / Discussions / C#
   

C#

 
AnswerRe: urgent help pleasse [image processing , pointers , byte ] Pin
Henry Minute10-Jun-09 6:31
Henry Minute10-Jun-09 6:31 
AnswerRe: urgent help pleasse [image processing , pointers , byte ] Pin
WinSolution10-Jun-09 6:38
WinSolution10-Jun-09 6:38 
GeneralRe: urgent help pleasse [image processing , pointers , byte ] Pin
Luc Pattyn10-Jun-09 7:29
sitebuilderLuc Pattyn10-Jun-09 7:29 
GeneralRe: urgent help pleasse [image processing , pointers , byte ] Pin
Christian Graus10-Jun-09 8:46
protectorChristian Graus10-Jun-09 8:46 
AnswerRe: urgent help pleasse [image processing , pointers , byte ] Pin
saurabh sahay10-Jun-09 11:50
saurabh sahay10-Jun-09 11:50 
QuestionHttpResponse Compression... ? Pin
Trapper-Hell10-Jun-09 5:54
Trapper-Hell10-Jun-09 5:54 
AnswerRe: HttpResponse Compression... ? Pin
Colin Angus Mackay10-Jun-09 6:15
Colin Angus Mackay10-Jun-09 6:15 
AnswerRe: HttpResponse Compression... ? Pin
saurabh sahay10-Jun-09 6:18
saurabh sahay10-Jun-09 6:18 
GeneralRe: HttpResponse Compression... ? Pin
Trapper-Hell10-Jun-09 6:25
Trapper-Hell10-Jun-09 6:25 
GeneralRe: HttpResponse Compression... ? Pin
saurabh sahay10-Jun-09 6:35
saurabh sahay10-Jun-09 6:35 
QuestionExtracting Repeating Table Data In a Web Part Pin
lday8610-Jun-09 5:42
lday8610-Jun-09 5:42 
Questionchanging the color and text of the label control dynamically from the retrieved values from the database Pin
praveenkumar_vittaboina10-Jun-09 4:58
praveenkumar_vittaboina10-Jun-09 4:58 
AnswerRe: changing the color and text of the label control dynamically from the retrieved values from the database Pin
Tom Deketelaere10-Jun-09 5:22
professionalTom Deketelaere10-Jun-09 5:22 
Questioncrystal reports problem after installing the application. Pin
praveenkumar_vittaboina10-Jun-09 4:57
praveenkumar_vittaboina10-Jun-09 4:57 
AnswerRe: crystal reports problem after installing the application. Pin
Tom Deketelaere10-Jun-09 5:19
professionalTom Deketelaere10-Jun-09 5:19 
QuestionChecking a registry key exists Pin
Martin3108810-Jun-09 4:21
Martin3108810-Jun-09 4:21 
AnswerRe: Checking a registry key exists Pin
Henry Minute10-Jun-09 4:45
Henry Minute10-Jun-09 4:45 
GeneralRe: Checking a registry key exists Pin
Martin3108810-Jun-09 4:57
Martin3108810-Jun-09 4:57 
GeneralRe: Checking a registry key exists Pin
Henry Minute10-Jun-09 5:07
Henry Minute10-Jun-09 5:07 
GeneralRe: Checking a registry key exists Pin
Martin3108810-Jun-09 5:35
Martin3108810-Jun-09 5:35 
Currently
It does run through the if regardless of whether the key exists or not. The way the code is at the moment (some changes have been made to the previous post) the key will get created if it does not exist. I can then make a change in the options of my application and apply them which saves the change to their respective keys.

Then when I close the program and re-open it, the keys are reset back to the default because the code is running through the wrong part of my if statement and overwriting the key.

Intended
I would like it to be able to tell if the key exists, if it does not, create it, if it does, copy the value of each key into the defined global variables. So that program can use these values wherever necessary.

I'll post the altered code if you need.
I hope this clears it up.
Thanks
GeneralRe: Checking a registry key exists Pin
Henry Minute10-Jun-09 6:16
Henry Minute10-Jun-09 6:16 
GeneralRe: Checking a registry key exists Pin
Martin3108810-Jun-09 6:28
Martin3108810-Jun-09 6:28 
GeneralRe: Checking a registry key exists Pin
Martin3108810-Jun-09 23:57
Martin3108810-Jun-09 23:57 
Questioncheckedlistbox - save checked items for future run Pin
havejeet10-Jun-09 3:50
havejeet10-Jun-09 3:50 
AnswerRe: checkedlistbox - save checked items for future run Pin
Manas Bhardwaj10-Jun-09 3:51
professionalManas Bhardwaj10-Jun-09 3:51 

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.