VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



To Get All The SubKeys of a Key

by Angsuman Banerji (23 Submissions)
Category: Registry
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 4th January 2008
Date Added: Mon 8th February 2021
Rating: (1 Votes)

To Get All The SubKeys of a Key

API Declarations


Dim sKeys() As String, iKeyCount As Long


Rate To Get All The SubKeys of a Key



        .ClassKey = HKEY_LOCAL_MACHINE 
        .SectionKey = "Software"
        .EnumerateSections(sKeys(), iKeyCount)
        For iKey = 1 To iKeyCount
            Debug.Print sKeys(iKey)
        Next iKey
    End With 


Download this snippet    Add to My Saved Code

To Get All The SubKeys of a Key Comments

No comments have been posted about To Get All The SubKeys of a Key. Why not be the first to post a comment about To Get All The SubKeys of a Key.

Post your comment

Subject:
Message:
0/1000 characters