Object library feature not supported

A

Alain Vaillancourt

I have an Access 2002 database that was compiling with no error. I removed a
module I transfered in my library (an MDE file) and now, I get the compile
error "Object library feature not supported" on the "Me" keyword. I tried
decompiling and importing in a new database but nothing changed.

Anyone have an idea of how to correct this problem...

Thanks!
 
T

Tony Toews

Alain Vaillancourt said:
I have an Access 2002 database that was compiling with no error. I removed a
module I transfered in my library (an MDE file) and now, I get the compile
error "Object library feature not supported" on the "Me" keyword. I tried
decompiling and importing in a new database but nothing changed.

How did you "remove the module you transferred in your library"? Was
it a referenced MDE?

If so what happens when you add that MDE as a reference? Does your
problem go away?

What sequence are your references currently in?

Do you have any references besides the basic three? Are you sure you
need them? Write down the path and name of the extra ones, delete
from the references list and Compile and Save All. Keep any
necessary references and ensure they are distributed to the target
system.

For a very detailed page on reference problems see
http://members.rogers.com/douglas.j.steele/AccessReferenceErrors.html

Ctrl+G will take you into the Debug/Immediate window. Then click on
Tools on the menu bar and References.

The Access 2000 default references are:
Visual Basic for Applications
Microsoft Access 9.0 Object Library
OLE Automation
Microsoft ActiveX Data Objects 2.1 Library
or
Microsoft DAO 3.6 Object Library

The Access 2002 default references when the MDB is created in Access
2000 format are:
Visual Basic for Applications
Microsoft Access 10.0 Object Library
OLE Automation
Microsoft ActiveX Data Objects 2.1 Library

The Access 2002 default references when the MDB is created in Access
2002 format are:
Visual Basic for Applications
Microsoft Access 10.0 Object Library
OLE Automation
Microsoft ActiveX Data Objects 2.5 Library.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 
A

Alain Vaillancourt

I removed the module from VBA with the Remove command of the File menu. My
library is a referenced MDE file that was already referenced and I only have
the needed references. I already had the same error when I converted my
database from Access 2000 to Access 2002 and I get ride of the problem by
decompiling the Access 2000 database before converting it in Access 2002. It
looks like a corruption problem but I don't know what else to try to get
ride of that problem again...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top