ADT: How to Give Users the Ability to Change Passwords (2.0)

Last reviewed: April 7, 1997
Article ID: Q100970
The information in this article applies to:
  • Microsoft Access Distribution Kit version 1.1
  • Microsoft Access Developer's Toolkit version 2.0

SUMMARY

Advanced: Requires expert coding, interoperability, and multiuser skills.

This article describes how to distribute a secure application with the Microsoft Access Distribution Kit or Microsoft Access Developer's Toolkit and still give your users the ability to change their passwords.

MORE INFORMATION

To achieve this functionality, do the following:

  1. Make the Database window active so that you can access the Security menu. (The best method for this is to select an object in the Database window through a macro).

  2. From the Security menu, choose Password. The user then changes the password.

  3. Once the user has closed the Password dialog box, set the focus back to the form that you called the macro or function from.

    Here is a sample macro:

          Macro Name         Actions
          -------------------------------
          Change Password    SelectObject
                             DoMenuItem
                             SelectObject
    
          Change Password Actions
          ----------------------------
          SelectObject
              Object Type: Macro
              Object Name: Autoexec
              In Database window: Yes
          DoMenuItem
              Menu Bar: Database
              Menu Name: Security
              Command: Change Password
              Subcommand:
          SelectObject
              Object Type: Form
              Object Name: Form1
              In Database window: No
    
    
The Database window appears, as well as the dialog box to change the password. You cannot select anything in the Database window because the Change Password dialog box is modal.

In the Microsoft Access Distribution Kit or Developer's Toolkit, the functionality is identical except that the Database window is not displayed.


Additional query words: container adk adt
Keywords : kbusage ScrtOthr
Version : 1.1 2.0
Platform : WINDOWS
Hardware : X86
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 7, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.