Click here to Skip to main content
15,896,500 members
Home / Discussions / C#
   

C#

 
AnswerRe: Event Trigger Pin
Md. Marufuzzaman30-Sep-09 5:46
professionalMd. Marufuzzaman30-Sep-09 5:46 
QuestionRegistry problem with 64-bit Vista Pin
Sifar - 030-Sep-09 3:53
Sifar - 030-Sep-09 3:53 
Hi All,

I have created one Windows Applcation and its Setup. While installing the appliaton with Setup.exe, I create one registry entry with below code.

Step 1 : regKey = Microsoft.Win32.Registry.LocalMachine.CreateSubKey("SOFTWARE\\Microsoft\\MyKey");

Immediately after this, I read this value with below code.

Step 2 : regRead = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SOFTWARE\\Microsoft\\MyKey", true);

Then when I run the application I read the registry with below code, it is same as Step 2.

Step 2 : regRead = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SOFTWARE\\Microsoft\\MyKey", true);

All works fine..

But when I installed this application on 64-bit Vista Business machine it creates problem.

Vista created Wow6432Node for registry entries of 32-bit application. It is a transparent process.

For, Step 1 it has created MyKey under HKLM\SOFTWARE\Wow6432Node\Microsoft.
For, Step 2 it has fetched value of MyKey from HKLM\SOFTWARE\Wow6432Node\Microsoft.
For, Step 3 it does not find the registry entry and return null.

Code for opening sub key in Step 2 and 3 is same..

Please advise.

Regards,
-SIFAR.

AnswerRe: Registry problem with 64-bit Vista Pin
monstale30-Sep-09 4:16
monstale30-Sep-09 4:16 
Questionhow to use Update command from tableadapter Pin
kalevikas30-Sep-09 3:49
kalevikas30-Sep-09 3:49 
AnswerRe: how to use Update command from tableadapter Pin
Henry Minute30-Sep-09 6:02
Henry Minute30-Sep-09 6:02 
QuestionHow can i let the user insert a new values into a combobox inside of datagridview Pin
bonzaiholding30-Sep-09 3:27
bonzaiholding30-Sep-09 3:27 
QuestionWhy Don't Change Server Time? (Please Help, It is very urgent) Pin
Hamid Khezeli30-Sep-09 3:02
Hamid Khezeli30-Sep-09 3:02 
AnswerRe: Why Don't Change Server Time? (Please Help, It is very urgent) Pin
Luc Pattyn30-Sep-09 3:19
sitebuilderLuc Pattyn30-Sep-09 3:19 
GeneralRe: Why Don't Change Server Time? (Please Help, It is very urgent) Pin
Hamid Khezeli30-Sep-09 3:54
Hamid Khezeli30-Sep-09 3:54 
GeneralRe: Why Don't Change Server Time? (Please Help, It is very urgent) Pin
Luc Pattyn30-Sep-09 4:00
sitebuilderLuc Pattyn30-Sep-09 4:00 
AnswerRe: Why Don't Change Server Time? (Please Help, It is very urgent) Pin
J4amieC30-Sep-09 3:59
J4amieC30-Sep-09 3:59 
GeneralRe: Why Don't Change Server Time? (Please Help, It is very urgent) Pin
Hamid Khezeli30-Sep-09 4:11
Hamid Khezeli30-Sep-09 4:11 
GeneralRe: Why Don't Change Server Time? (Please Help, It is very urgent) Pin
J4amieC30-Sep-09 4:43
J4amieC30-Sep-09 4:43 
GeneralRe: Why Don't Change Server Time? (Please Help, It is very urgent) Pin
Hamid Khezeli30-Sep-09 12:30
Hamid Khezeli30-Sep-09 12:30 
AnswerCP IGNORE: Cross Post (3 forums) Pin
leckey30-Sep-09 6:24
leckey30-Sep-09 6:24 
Questionretrieve data from tableadapter in for selected value in combobox Pin
kalevikas30-Sep-09 2:48
kalevikas30-Sep-09 2:48 
AnswerRe: retrieve data from tableadapter in for selected value in combobox Pin
Henry Minute30-Sep-09 2:56
Henry Minute30-Sep-09 2:56 
AnswerRe: retrieve data from tableadapter in for selected value in combobox Pin
Mycroft Holmes30-Sep-09 13:24
professionalMycroft Holmes30-Sep-09 13:24 
Questionnumbers in words in crystal report Pin
Enobong Adahada30-Sep-09 2:45
Enobong Adahada30-Sep-09 2:45 
Questionlandscape page in crystal report Pin
Enobong Adahada30-Sep-09 2:40
Enobong Adahada30-Sep-09 2:40 
QuestionHow to read a message of class IPM.Note.SMIME.MultipartSigned in c# using CDO Pin
Nitesh Malik30-Sep-09 2:39
Nitesh Malik30-Sep-09 2:39 
QuestionHow to translate Win32 error codes Pin
Jörgen Sigvardsson30-Sep-09 2:00
Jörgen Sigvardsson30-Sep-09 2:00 
AnswerRe: How to translate Win32 error codes Pin
stancrm30-Sep-09 2:04
stancrm30-Sep-09 2:04 
GeneralRe: How to translate Win32 error codes Pin
Jörgen Sigvardsson30-Sep-09 2:08
Jörgen Sigvardsson30-Sep-09 2:08 
GeneralRe: How to translate Win32 error codes Pin
Martijn van Kleef8-Dec-10 22:53
Martijn van Kleef8-Dec-10 22:53 

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.