Re: Ado 2.6



Parvathi wrote:

I am working on a VB component which uses ADODB.Recordset. Even though
ADO 2.6 and MDAC 2.6 are installed in the machine, the registry
doesn't have any class name for ADODB.Recordset. Hence the Recordset
creation fails. If anyone have faced similar problem and know a
solution please email me. Thanks in advance.

Note: I have .NET also installed in my machine.

Hi,

If MDAC is installed you should be fine. If your are using VB or VB.NET you
probably need to add a reference to "Microsoft ActiveX Data Objects 2.6
Library", which refers to msado26.tlb. In .NET I believe it is on the "COM"
tab when you add references. When you expand references in Solution Explorer
you should see ADODB. In VBScript you don't need any references.

--
Richard
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net


.



Relevant Pages

  • Re: Ado 2.6
    ... The reference is showing up in VB which refers to msad026.tlb. ... If MDAC is installed you should be fine. ... probably need to add a reference to "Microsoft ActiveX Data Objects 2.6 ... When you expand references in Solution Explorer ...
    (microsoft.public.data.ado)
  • Re: Ado 2.6
    ... Set oRec = CreateObject ... If MDAC is installed you should be fine. ... you probably need to add a reference to "Microsoft ActiveX Data Objects ... When you expand references in Solution ...
    (microsoft.public.data.ado)
  • Re: Access 2003-Access 2002 Incompatibility
    ... Microsoft ActiveX Data Objects Recordset 2.7 ... this database. ... the available references I do not find ADODB. ...
    (microsoft.public.access.conversion)
  • Re: MDAC 2.7 with Win XP SP2
    ... This is not an MDAC issue or a COM issue, ... resolve the references but when I recompiled the solution I received ... When I open the same project on my Win XP SP2 machine, ...
    (microsoft.public.data.ado)
  • Re: Suddenly VB6 database program quit working - HELP!!!
    ... References are OK. ... I tried another project that had been working and it fails the same way. ... I haven't installed anything for awhile except MDAC 2.8 and possibly ... >¤ It fails on the Set statement. ...
    (microsoft.public.vb.database)