Login Register






[VB.NET] Registry Reading Issue [URGENT] filter_list
Author
Message
[VB.NET] Registry Reading Issue [URGENT] #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)
Spoiler: Registert + key location
[Image: 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 registery

the 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.)
Calling me stupid won't mind me it only shows your immaturity -<3

[Image: 120x240.gif]

Reply

RE: [VB.NET] Registry Reading Issue [URGENT] #2
issue fixed
thread updated with the solution
Calling me stupid won't mind me it only shows your immaturity -<3

[Image: 120x240.gif]

Reply