View Single Post
Join Date: Aug 2006
Posts: 2,065
Reputation: Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice 
Solved Threads: 256
Featured Poster
Ramy Mahrous's Avatar
Ramy Mahrous Ramy Mahrous is offline Offline
Postaholic

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

 
0
  #2
Jan 6th, 2009
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
Last edited by Ramy Mahrous; Jan 6th, 2009 at 11:06 am.
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Reply With Quote