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: Database : Access/Jet
Description: Microsoft Access Jet databases and their objects (MDB and ACCDB database formats)

Module: modSnippetDAOParity_Security

Shows a comparison of using common data access activities against Jet security using the DAO and ADO methods.

While most Access and VB projects that use Jet use the DAO object model, new extensions to ADO make it possible to use ADO instead. This module shows common DAO tasks and then shows the equivalent ADO code.

Procedure Name

Type

Description

(Declarations) Declarations Declarations and private variables for the modSnippetDAOParity_Security module
ShowAddUserToGroup_ADO Procedure Shows how to add a user to an existing group using ADO.
ShowAddUserToGroup_DAO Procedure Shows how to add a user to an existing group using DAO.
ShowChangePassword_ADO Procedure Shows how to change a user's password using ADO
ShowChangePassword_DAO Procedure Shows how to change a user's password using DAO
ShowCreateNewGroup_ADO Procedure Shows how to create a new group using ADO
ShowCreateNewGroup_DAO Procedure Shows how to create a new group using DAO
ShowCreateUser_ADO Procedure Shows how to create a new user with ADO.
ShowCreateUser_DAO Procedure Shows how to create a new user with DAO.
ShowEncryptDatabase_ADO Procedure Shows how to use ADO to compact a database
ShowEncryptDatabase_DAO Procedure Shows how to use DAO to compact a database
ShowOpenDatabaseWithPassword_ADO Procedure Shows how to open a database that is protected with a Database Password using ADO.
ShowOpenDatabaseWithPassword_DAO Procedure Shows how to open a database that is protected with a Database Password using DAO.
ShowOpenSecuredDatabase_ADO Procedure Shows how to open a database that is protected with user-level security using ADO.
ShowOpenSecuredDatabase_DAO Procedure Shows how to open a database that is protected with user-level security using DAO.
ShowSetDatabasePassword_ADO Procedure Shows how to change the database password using ADO. Neither ADODB nor ADOX support this functionality, so we use yet another ADO library, called Microsoft Jet and Replication Objects 2.1 Library (JRO). This file is MSJRO.DLL.
ShowSetDatabasePassword_DAO Procedure Shows how to change the database password using DAO.
ShowSetPermissions_ADO Procedure Shows how to set permissions for a user/object pair using ADO.
ShowSetPermissions_DAO Procedure Shows how to set permissions for a user/object pair using DAO.

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