Home > Software engineering >  VB reference ADODC part has a problem
VB reference ADODC part has a problem

Time:09-24

A VB program, refer to the Microsoft activeX data objects 2.6 library,
Reference path: C: \ Program Files \ Common Files \ System \ ado \ msado26 TLB

Program itself has no problem, have been used for a long time,
Today, on a new machine installation, operation error: error loading DLL errors,

I tested, found to be running the code: Adodc1. You will be wrong this mistake, but run Adodc1. Refresh is not wrong,

This PC in C: \ Program Files \ Common Files \ System \ ado \ msado26 TLB, this file exists,
ADO component has a problem or how to return a responsibility? Don't know how to deal with ah ~
Consult ~

CodePudding user response:

You are a object

Refresh is a methodSuch code can't be run line Adodc1. You
What is Adodc1 object type?
The Refresh method only checked in _collection object is
There is something wrong with the code
At ordinary times didn't find this code didn't run to?

CodePudding user response:

Microsoft activeX data objects 2.6 library project is also not ADODC ADODB library reference

CodePudding user response:

reference 1st floor bakw response:

you a object
Refresh is a methodSuch code can't be run line Adodc1. You
What is Adodc1 object type?
The Refresh method only checked in _collection object is
There is something wrong with the code
At ordinary times didn't find this code didn't run to?


Reference the components that I was wrong, is msadodc. Ocx, this computer is also have this component, I also to kao a registered, still the same error ~

Code there is no problem, I wrote a brief, are running such as Adodc1. You. EOF, Adodc1. You. ~ RecordCount such code

CodePudding user response:

What is your new computer operating system, 32 bit or 64 bit
  • Related