Name 'ADODB' is not declared Error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • valeria007@gmail.com

    #1

    Name 'ADODB' is not declared Error

    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.

  • james

    #2
    Re: Name 'ADODB' is not declared Error


    <valeria007@gma il.com> wrote in message
    news:1142452851 .655874.132710@ p10g2000cwp.goo glegroups.com.. .[color=blue]
    >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.
    >[/color]

    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


    Comment

    • valeria.audivert@gmail.com

      #3
      Re: Name 'ADODB' is not declared Error

      I have done that already. No luck.

      Comment

      • james

        #4
        Re: Name 'ADODB' is not declared Error

        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.audive rt@gmail.com> wrote in message
        news:1142516402 .309173.244490@ p10g2000cwp.goo glegroups.com.. .[color=blue]
        >I have done that already. No luck.
        >[/color]


        Comment

        Working...