"The code is exactly
how I would like to write code and the algorithms used are very
efficient and well-documented."
Van T. Dinh, Microsoft MVP
|
|
Module: modRegistry
Routines for manipulating the registry (add, edit, delete, enumerate, and find registry keys and values)
|
Procedure Name
|
Type
|
Description
|
|
(Declarations)
|
Declarations
|
Declarations and private variables for the modRegistry module
|
|
RegistryCreateNewKey
|
Procedure
|
Creates a new key in the system registry
|
|
RegistryDeleteKey
|
Procedure
|
Deletes a key from the system registry.
Note that under Windows NT, any sub-keys must be deleted first. The API documentation for this function is incorrect. The Microsoft Knowledge Base states:
"The documentation for RegDeleteKey() points out that the specified key to be deleted must not have subkeys. If the key to be deleted does have subkeys, RegDeleteKey() will fail with access denied. This happens despite the fact that the machine account has delete privileges and the registry handle passed to RegDeleteKey() was opened with delete access. The additional requirement is that the key must have no subkeys."
|
|
RegistryDeleteValue
|
Procedure
|
Deletes a value from the system registry
|
|
RegistryEnumerateSubKeys
|
Procedure
|
Enumerates the sub keys of the specified key
|
|
RegistryEnumerateValues
|
Procedure
|
Enumerates the values of the specified key
|
|
RegistryGetKeyValue
|
Procedure
|
Returns a value from the system registry
|
|
RegistrySetKeyValue
|
Procedure
|
Set a registry key value and creates it if it doesn't already exist
|
Overview of Total Visual SourceBook
The source code in Total Visual
SourceBook includes modules and classes for Microsoft Access, Visual
Basic 6 (VB6), and Visual Basic for Applications (VBA) developers. Easily
add this professionally written, tested, and documented royalty-free code
into your applications to simplify your application development efforts.
Additional Resources
|
|