Visual Basic

F

fc

When open an access database in new installation pc, a
warning massage pop up "run time error 430" "Class does
not support automation or does not support expected
interface. When I debug code, it point to the following
line:
Set con = Application.CurrentProject.Connection

It works fine for old machine. Please help!
 
G

Guest

I try that but "object does not support this property or
method" message error pop up.
 
T

Tim Ferguson

I try that but "object does not support this property or
method" message error pop up.

There was a rumour that Access 2003 was reversing the ADO-by-default plan
of the last two versions and going back to the original DAO-by-default.
Have you checked to see that there is a valid reference to the ADODB
library in the new PC setup?

HTH

Tim F
 
G

Guest

Hi Tim,

Where could I set up ADODB library
-----Original Message-----


There was a rumour that Access 2003 was reversing the ADO- by-default plan
of the last two versions and going back to the original DAO-by-default.
Have you checked to see that there is a valid reference to the ADODB
library in the new PC setup?

HTH

Tim F

.
 
T

Tim Ferguson

Where could I set up ADODB library

Open the VB Editor, choose Tools | References and see if

Microsoft ActiveX Data Objects

is checked; if not, find it and check it on. If it is already checked then
you have a different problem!

At the same time, if you are not using any DAO code, then UNselect the
following

Microsoft Data Access Objects

Hope that helps


Tim F
 

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

Similar Threads

My Switchboard form won't open 2
Runtime Error 3
"Run-time error 430" when open on one computer, fine on other 1
Access XP Switchboard error 2
Switchboard Error 3
Error # 430 5
runtime error 1
Error DLL 2

Top