Home All Groups Group Topic Archive Search About

Name 'ADODB' is not declared Error

Author
15 Mar 2006 8:00 PM
valeria007
I have a VS 2005 project that has some pages that still use ADO and
need to stay that way for the time being.
I've added the reference to ADODB and it shows on the references list
as ADODB GAC 7.0.3300.0. The problem is that none of the code
references to ADODB work and they all error out. Even when I type
Impots ADODB, ADODB doesn't show on the list of possible choices as it
should.
Does anyone have any ideas?
Thanks.

Author
15 Mar 2006 8:44 PM
james
<valeria***@gmail.com> wrote in message
news:1142452851.655874.132710@p10g2000cwp.googlegroups.com...
>I have a VS 2005 project that has some pages that still use ADO and
> need to stay that way for the time being.
> I've added the reference to ADODB and it shows on the references list
> as ADODB GAC 7.0.3300.0. The problem is that none of the code
> references to ADODB work and they all error out. Even when I type
> Impots ADODB, ADODB doesn't show on the list of possible choices as it
> should.
> Does anyone have any ideas?
> Thanks.
>

Right Click in Solution Explorer and select ADD Reference and under the COM
tab, select:
Microsoft ADO Ext. 2.8 for DDL & Security.
Then when you type in : Imports ADODB will show up.
james
Author
16 Mar 2006 1:40 PM
valeria.audivert
I have done that already. No luck.
Author
16 Mar 2006 2:47 PM
james
Works in 2003 but, in 2005 it comes back with only ADOX.  Sorry I didn't
realize that it was different in 2005.
I tried a couple of other references and still the same thing. I guess this
means that ADODB is not supported in
2005. Hopefully, you can get an official answer to this. I have a couple
apps myself that use ADODB written in
2003 (VB) and would like to keep them as is if I ever have to move them to
2005.
james

<valeria.audiv***@gmail.com> wrote in message
Show quoteHide quote
news:1142516402.309173.244490@p10g2000cwp.googlegroups.com...
>I have done that already. No luck.
>