Re: Ado 2.6
- From: sparvathi123@xxxxxxxxx
- Date: 8 Feb 2006 15:03:58 -0800
The reference is showing up in VB which refers to msad026.tlb. But when
I run it, CreateObject(ADODB.Recordset) throws automation error.
Richard Mueller wrote:
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
.
- Follow-Ups:
- Re: Ado 2.6
- From: Daniel Crichton
- Re: Ado 2.6
- From: Richard Mueller
- Re: Ado 2.6
- References:
- Ado 2.6
- From: sparvathi123
- Re: Ado 2.6
- From: Richard Mueller
- Ado 2.6
- Prev by Date: Re: Empty field
- Next by Date: Re: Ado 2.6
- Previous by thread: Re: Ado 2.6
- Next by thread: Re: Ado 2.6
- Index(es):
Relevant Pages
|
|