Registry Access Wrapper Class

Category:
Registry
Type:
Classes
Difficulty:
Intermediate
Author:
Brian matumbura

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
Demo usage to read the value of a DWORD key from the registry:

Dim ORegistry As New CRegistry 
Dim myValue as Long 
myValue = ORegistry.GetAppRegValue(HKEY_LOCAL_MACHINE , "Software\My Company\My Application v1.0", REG_DWORD, "Always On Top", 1)

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download cregistry.zip