View Single Post
Join Date: Mar 2008
Posts: 44
Reputation: smelf1 is an unknown quantity at this point 
Solved Threads: 0
smelf1 smelf1 is offline Offline
Light Poster

Re: vb.net 08 Reading data from multiple reg keys

 
0
  #3
Jan 6th, 2009
Originally Posted by RamyMahrous View Post
Put your key in array
Dim key As String(numberOfKeys) then loop and once you get value put it into ComboBox or any control you present data into
  1. Dim registrykeys(5) As String
  2. 'fill your keys
  3. For Each key As String In registrykeys
  4. ComboBox1.Items.Add(My.Computer.Registry.GetValue(key, "property", "default"))
  5. Next
Your array may be 2D to maintain the property of keys
Hi thanks for the reply.

I am new to vb.net so bear with me : ).

Now in that part of the reg i am looking the keys can be different depending on the installed programs.

So i cannot just add the exact key to read.
Last edited by smelf1; Jan 6th, 2009 at 11:17 am.
Reply With Quote