by Brandon Pinnick (1 Submission)
Category: Registry
Compatability: Visual Basic 5.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (10 Votes)
My First Submission to VBCode.Com-
After searching all over VBC for a SIMPLE registry reading article, i couldnt find one. Although i did find a Registry write and thats where i got this code from and altered it to do reading instead of writting. Plz vote, any comments welcome!!
NOTE: To use this place this code in the Form Load and place a TextBox called Text1 on your form and you should be set...have any questions, post them and i will check them out later!!
Set wshshell = CreateObject("WScript.Shell")
Text1.Text = wshshell.RegRead("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Start Page")