ACC2000: VBE Project Explorer Displays Wizard Projects (210241)



The information in this article applies to:

  • Microsoft Access 2000

This article was previously published under Q210241
Moderate: Requires basic macro, coding, and interoperability skills.

This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).

SYMPTOMS

After running a Microsoft Access wizard or menu add-in, the Visual Basic Environment Project Explorer displays one or more of the following projects: acwzmain, acwztool, or acwzlib.

CAUSE

Microsoft Access wizards and menu add-ins have an associated Visual Basic project. After you run a wizard or menu add-in, Visual Basic for Applications loads the wizard's Visual Basic project into memory for the remainder of the Microsoft Access session.

MORE INFORMATION

The Project Explorer in the Visual Basic Environment always displays all loaded Visual Basic projects. Once Visual Basic for Applications loads a project, the project remains loaded even if no procedures within it are currently running.

Steps to Reproduce Behavior

  1. Start Microsoft Access 2000.
  2. Open the sample database Northwind.mdb.
  3. On the Tools menu, click Macro, and then click Visual Basic Editor to start the Visual Basic Editor.
  4. On the View menu, click Project Explorer to view the Project Explorer. Note that Northwind.mdb is the only project loaded in the Visual Basic Environment.
  5. Press ALT+F11 to switch to Microsoft Access.
  6. On the Insert menu, click Form.
  7. Click Form Wizard, and then click OK. Note that the form wizard loads.
  8. Click Cancel to close the Form Wizard.
  9. Press ALT+F11 to switch back to the Visual Basic Environment.
Note that the Project Explorer now contains a project named acwzmain.

Modification Type:MajorLast Reviewed:6/30/2004
Keywords:kbprb KB210241