You cannot run the Visual Basic for Applications code in your Access 2000 run-time application if you removed Access 2002 (282336)
The information in this article applies to:
- Microsoft Access 2002
- Microsoft Access 2000
This article was previously published under Q282336 For a Microsoft Office Access 2003 version of this
article, see
827490. 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 When you start a Microsoft Access 2000 run-time application
after you uninstall Microsoft Access 2002, including a Microsoft Access 2002
run-time application, you may experience either of the following symptoms:
- Visual Basic for Applications code fails to run but does
not return any error message.
- You receive the following error message when you run Visual
Basic for Applications code:
The expression On
event you entered as the event property setting
produced the following error: There was a problem referencing a property or
method of the object.
* The expression may not result in the name of
a macro, the name of a user-defined function, or [Event Procedure].
*
There may have been an error evaluating the function, event, or macro.
CAUSE When Setup removes Microsoft Access 2002, Setup unregisters
the Access.Application object in the Windows registry. This causes any Visual Basic for
Applications code in Microsoft Access to not function. RESOLUTION Follow these steps to reinstall Microsoft Access
Runtime: NOTE: Because there are several versions of Microsoft Windows, the
following steps may be different on your computer. If they are, see your
product documentation to complete these steps. - Click Start, point to Settings, and then click Control Panel.
- In Control Panel, double-click Add/Remove Programs.
- In the Add/Remove Programs dialog box, click Microsoft Access 2000 Runtime in the list of installed programs, and then click Change.
- In the Microsoft Access 2000 Maintenance Mode dialog box, click Repair Microsoft Access 2000 Runtime.
- In the Reinstall/Repair Microsoft Access 2000
Runtime dialog box, click the Reinstall Access Runtime option. The Repair errors in my Access Runtime
installation option will not correct the problem.
- Click Finish.
- If you are prompted to restart the computer, click Yes.
STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 11/24/2004 |
---|
Keywords: | kbsetup kbtshoot kbbug kberrmsg kbnofix KB282336 |
---|
|