Code Works on 1 pc but not the other

  • Thread starter Thread starter Gary S
  • Start date Start date
G

Gary S

Hi,

For some reason code on one pc works fine, but none of the
code works on another pc(Access 2003). Even the most basic
code like opening a form I get the message: "Object or class
does not support the set of events". I have check the vba
references and they seem to be okay. Help!
 
These are the references I am using:
1) Visual basic for applications
2) MS Access 11.0 Object Library
3) OLE automation
4) ms dao 3.6 object library
5) ms visual basic for applications extensibility 5.2
6) ms activex data objects 6.0 library
7) ms actviex data objexts recordset 6.0 library
8) ms ado ext 6.0 for ddl and security
 
Gary S said:
These are the references I am using:
1) Visual basic for applications
2) MS Access 11.0 Object Library
3) OLE automation
4) ms dao 3.6 object library
5) ms visual basic for applications extensibility 5.2
6) ms activex data objects 6.0 library
7) ms actviex data objexts recordset 6.0 library
8) ms ado ext 6.0 for ddl and security

Do you really need items 5, 7 and 8? Remove those one at a time and
try compiling.

Are you sure that the 6.0 is correct for the ADO references? I
would've thought 2.8.

Tony
 
Gary S said:
Tony,thanks for your help!

You're welcome.

But also please let us know what works for you and what doesn't work.
This will help us help others for the future.

Tony
 
Back
Top