[VB.NET] Registry Reading Issue [URGENT] 01-03-2014, 11:59 PM
#1
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)
![[Image: PByveAE.jpg]](http://i.imgur.com/PByveAE.jpg)
My code:
the key is in my registery as you can see in the spoiler
I hope anyone can help me out.
*FIXED*
solution:
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
I get one little issue which states nothing (as string/object at all the time)
Spoiler: Registert + key location
![[Image: PByveAE.jpg]](http://i.imgur.com/PByveAE.jpg)
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
(This post was last modified: 01-05-2014, 04:49 PM by boby79simon.)





![[Image: 120x240.gif]](http://www.gomezpeerzone.com/wp-content/uploads/2011/11/120x240.gif)
![[+]](https://sinister.li/images/modern/collapse_collapsed.png)