Registry problem
-
How to write hex, dword and binary values in the registry. This code:
key.SetValue("SomeKey","Value");
is for inserting a string. Help.Vasildb
-
How to write hex, dword and binary values in the registry. This code:
key.SetValue("SomeKey","Value");
is for inserting a string. Help.Vasildb
Dim regKey As RegistryKey Dim ver As Decimal regKey = Registry.LocalMachine.OpenSubKey("Software\MyApp", True) regKey.SetValue("AppName", "MyRegApp") Ref : http://72.14.253.104/search?q=cache:M\_c-V-CC1xgJ:www.codeproject.com/vb/net/registry\_with\_vb.asp+add+value+in+registry+key+vb.net&hl=en&gl=in&ct=clnk&cd=3
Keep Smiling !!! Parwej Ahamad g_parwez@rediffmail.com
-
How to write hex, dword and binary values in the registry. This code:
key.SetValue("SomeKey","Value");
is for inserting a string. Help.Vasildb
You can use Encoding.[UTF7/UTF8/etc].GetByte(String param) and viceversa Encoding.[UTF7/UTF8/etc].GetString(byte[] b) to convert method to/from byte to string and viceversa than save it in registry.