Jump: Search:

Total Visual SourceBook

Total Visual SourceBook CD and Printed Manual

Microsoft Access 2007/2010 Version
is Shipping!

New features in Total Visual SourceBook for Access, Office 2007 and VB6

Supports Access/Office 2010 (32 bit), 2007, 2003, 2002, 2000, and
Visual Basic 6.0!

Also available for:
Access 97/95


View all FMS products for Microsoft AccessAll Our Microsoft Access Products

SourceBook Info:

Why SourceBook?

 

"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

 

 

 

 

 
Royalty free source code library modules for Microsoft Access, VB6, VBA, OfficeRoyalty free source code library modules for Microsoft Access, VB6, VBA, OfficeVBA and VB6 Source Code Library Download the free trial version of Total Visual SourceBook for Microsoft Access, Office, VB6 and VBA
Category: General VBA/VB6 : Registry
Description: Managing the Windows System Registry

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

Feedback

Contact Us  l   Web questions: Webmaster   l   Copyright © FMS, Inc., Vienna, Virginia
Celebrating our 26th Year of Software Excellence