Results 1 to 2 of 2

Thread: All all registry to treeview?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2009

    All all registry to treeview?

    How would i add all registry (subkey, parent, etc) items to a treeview?

  2. #2
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Southeastern MI

    Re: All all registry to treeview?

    Loop through the registry objects using a combination of GetSubKeyNames and OpenSubKey and add each key as a tree node. In theory this should work fine, the only trouble you are going to have is with permissions and performance. The registry is pretty large, so you might want to only request children when a parent node is clicked on to make things feel faster.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


Click Here to Expand Forum to Full Width