Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

ACC2000: Error When You Try to Use a Shortcut to Open a Password-Protected Project


View products that this article applies to.

This article was previously published under Q210619
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).

Moderate: Requires basic macro, coding, and interoperability skills.

↑ Back to the top


Symptoms

If you create a shortcut in Microsoft Windows that points to a password-protected Visual Basic Editor project, you may receive the follow incorrect error message when you double-click the shortcut:
Microsoft Access can't find the procedure '.'
Instead, the error should indicate that a Visual Basic Editor password is needed before you can open the module. However, you cannot pass a Visual Basic Editor password through the shortcut.

↑ Back to the top


Resolution

Use Access to open the database. When the database is open, press ALT+F11 to open the Visual Basic Editor. You then receive a prompt for the Visual Basic Editor password.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


More information

Steps to Reproduce the Problem

1.Create a new database.
2.Create a new module, and then save it.
3.On the Tools menu, click DatabaseName Properties, click the Protection tab, click to select the Lock Project for Viewing check box, type (and confirm) a password, and then click OK.
4.Close the Visual Basic Editor. In the Access database window, drag the module to the desktop to create a shortcut to the module.
5.Quit Microsoft Access.
6.Double-click the shortcut. Note that Access displays the incorrect error message described in the "Symptoms" section of this article.

↑ Back to the top


Keywords: KB210619, kbpending, kbbug, kberrmsg

↑ Back to the top

Article Info
Article ID : 210619
Revision : 3
Created on : 1/26/2005
Published on : 1/26/2005
Exists online : False
Views : 302