Click here to Skip to main content
15,895,011 members
Home / Discussions / C#
   

C#

 
Generalreplace text in a byte[] Pin
Ian Bowler12-Apr-05 7:30
Ian Bowler12-Apr-05 7:30 
GeneralRe: replace text in a byte[] Pin
Nick Parker12-Apr-05 9:39
protectorNick Parker12-Apr-05 9:39 
GeneralRe: replace text in a byte[] Pin
Ian Bowler12-Apr-05 9:47
Ian Bowler12-Apr-05 9:47 
GeneralLogin to Yahoo network Pin
ldself12-Apr-05 7:26
ldself12-Apr-05 7:26 
Generalformating datagrid Pin
la vie12-Apr-05 5:57
la vie12-Apr-05 5:57 
GeneralRe: formating datagrid Pin
MoustafaS12-Apr-05 14:17
MoustafaS12-Apr-05 14:17 
GeneralC# for Pocket PC Pin
Vitor Hugo Barros12-Apr-05 5:57
Vitor Hugo Barros12-Apr-05 5:57 
GeneralC# RegistryKey and GetType Pin
Brigg Thorp12-Apr-05 5:38
Brigg Thorp12-Apr-05 5:38 
All,

I am writing a program that looks at a registry entry and based on the type of data at a particular key, performs different operations. So, given a RegistryKey item opened to a specific key, how do I determine the type of data stored there? Is there a way I can compare the key type against a REG_SZ or REG_DWORD? I looked at the GetType function but that seems to return a generic Microsoft.Win32.RegistryKey type based on the open key.

Any help would be greatly appreciated.

Regards,

Brigg Thorp
Senior Software Engineer
Timex Corporation
GeneralRe: C# RegistryKey and GetType Pin
Ian Bowler12-Apr-05 7:36
Ian Bowler12-Apr-05 7:36 
GeneralRe: C# RegistryKey and GetType Pin
Brigg Thorp12-Apr-05 9:21
Brigg Thorp12-Apr-05 9:21 
GeneralRe: C# RegistryKey and GetType Pin
Dave Kreskowiak12-Apr-05 7:52
mveDave Kreskowiak12-Apr-05 7:52 
GeneralRe: C# RegistryKey and GetType Pin
Brigg Thorp12-Apr-05 9:25
Brigg Thorp12-Apr-05 9:25 
QuestionCan i stop people from deleting a file? Pin
Anthony Mushrow12-Apr-05 5:37
professionalAnthony Mushrow12-Apr-05 5:37 
AnswerRe: Can i stop people from deleting a file? Pin
Dave Kreskowiak12-Apr-05 7:21
mveDave Kreskowiak12-Apr-05 7:21 
AnswerRe: Can i stop people from deleting a file? Pin
afinnell15-Apr-05 13:55
afinnell15-Apr-05 13:55 
GeneralC# COM Interop Pin
s2111979212-Apr-05 4:30
s2111979212-Apr-05 4:30 
GeneralMake an instance of a child form from a class file. Pin
Mike Jeferson12-Apr-05 4:23
Mike Jeferson12-Apr-05 4:23 
GeneralC# Connection to Northwind via SQL - HELP Pin
Jethro6312-Apr-05 4:08
Jethro6312-Apr-05 4:08 
GeneralRe: C# Connection to Northwind via SQL - HELP Pin
Luis Alonso Ramos12-Apr-05 6:34
Luis Alonso Ramos12-Apr-05 6:34 
GeneralRe: C# Connection to Northwind via SQL - HELP Pin
Jethro6312-Apr-05 15:59
Jethro6312-Apr-05 15:59 
GeneralRe: C# Connection to Northwind via SQL - HELP Pin
Dave Kreskowiak13-Apr-05 4:20
mveDave Kreskowiak13-Apr-05 4:20 
GeneralRe: C# Connection to Northwind via SQL - HELP Pin
Luis Alonso Ramos13-Apr-05 5:29
Luis Alonso Ramos13-Apr-05 5:29 
GeneralRe: C# Connection to Northwind via SQL - HELP Pin
Jethro6313-Apr-05 15:22
Jethro6313-Apr-05 15:22 
GeneralRe: C# Connection to Northwind via SQL - HELP Pin
Mushtaque Nizamani25-Oct-07 4:41
Mushtaque Nizamani25-Oct-07 4:41 
GeneralPainting Issue Pin
Mark_Harrison12-Apr-05 2:05
Mark_Harrison12-Apr-05 2:05 

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.