![]() |
|
[VB.NET] Registry Reading Issue [URGENT] - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: Visual Basic & .NET Framework (https://sinister.li/Forum-Visual-Basic-NET-Framework) +--- Thread: [VB.NET] Registry Reading Issue [URGENT] (/Thread-VB-NET-Registry-Reading-Issue-URGENT) |
[VB.NET] Registry Reading Issue [URGENT] - hellomen - 01-03-2014 So I get straight to the point with a little to none text I get one little issue which states nothing (as string/object at all the time) Spoiler: Registert + key location![]() My code: Code: Dim NexonEU32 As Object = My.Computer.Registry.LocalMachine.GetValue("SOFTWARE\Nexon\Combat Arms EU\Ver_EU\RootPath", Nothing)
MsgBox(NexonEU32) 'this always show an empty string but as you can see the key is in my registerythe key is in my registery as you can see in the spoiler I hope anyone can help me out. *FIXED* solution: Code: Dim NexonEU32 As Object = My.Computer.Registry.LocalMachine.OpenSubKey("SOFTWARE\Nexon\Combat Arms EU\Ver_EU\").GetValue("RootPath")
MsgBox(NexonEU32)the backslash on the end was needed it's an check yet without the getvalue and if the key exists then it goes to the getvalue with a code as this: NexonEU32 = NexonEU32.GetValue("RootPath") Kind Regards, Hellomen RE: [VB.NET] Registry Reading Issue [URGENT] - hellomen - 01-05-2014 issue fixed thread updated with the solution |