aaxRegistry ActiveX Control
 |
The aaxRegistry ActiveX Control is a
module that gives you an easy access to the Windows Registry. With
this component, you can:- Open / Create / Delete keys and
subkeys;
- Read / Write / Delete values of any type;
- Enumerate keys, subkeys and value.
|
This component comes with full
documentation and many Visual Basic samples.
Usage sample:
aaxRegistry1.SetRootKey "HKEY_LOCAL_MACHINE"
aaxRegistry1.OpenKey "Software\Sample"
' Write 2 sample values
aaxRegistry1.WriteDwordValue "DwordSample", 12345
aaxRegistry1.WriteStringValue "StringSample", "My Value"
' Read Dword value
Dim MyVal As Long
aaxRegistry1.ReadDwordValue("DwordSample", MyVal)
' Read String value
Dim str As String ' String value
aaxRegistry1.ReadStringValue("StringSample", str) |
|
- Awards -
   
|