user type not defined?

PrOpHeT
01-24-2003, 12:40 PM
I know this is relating to ADO but I am posting here because I think it is a general VB question not just ADO.

when declaring


Private NewCon As ADODB.Connection


I get a user-defined type not defined. error

yet if I type it in a different case, VB corrects it on return so it must know what it is.

Any help?

reboot
01-24-2003, 01:12 PM
You probably don't have ADO referenced. Project->References and select it.

PrOpHeT
01-24-2003, 01:33 PM
Actualy I thought I did, I have two 2.7 libraries. One says multidimensional the other is just ado 2.7.

With the multidimensional I get the error.


Hmmmmmmmmmmmmmm....

O'well the other works,

Thanks none the less.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum