Error 429 when opening a disconnected recordset
- From: "Andy DF" <nospam@xxxxxxxxxx>
- Date: Mon, 3 Apr 2006 09:50:15 +0200
(This was previously posted on microsoft.public.vb.databse.ado, sorry for
multiposting, I guess I posted in the wrong NG.)
The following code creates and opens a disconnected ADODB.Recordset.
On some machines I get an error 429 "ActiveX component can't create object"
when the Recordset.Open statement is executed.
This has happend on Win ME and on Win XP.
Does anyone know what could be the source of the problem?
TIA,
Andy
Private Sub pTest1()
Dim rs As Recordset
On Error GoTo ERR_OUT
Set rs = New Recordset
rs.Fields.Append "TestField", adBoolean
rs.Open ' Error 429 HERE!!! WHY???
' Ok
MsgBox "Test #1: OK", vbInformation
' Clean up
rs.Close
Set rs = Nothing
Exit Sub
ERR_OUT:
MsgBox Err.Description & vbCrLf & Err.Number, vbExclamation
Err.Clear
End Sub
.
- Follow-Ups:
- Re: Error 429 when opening a disconnected recordset
- From: Richard Mueller
- Re: Error 429 when opening a disconnected recordset
- Prev by Date: Re: fill method
- Next by Date: Re: are there limitations of SQL used in text driver via ADO
- Previous by thread: Re: fill method
- Next by thread: Re: Error 429 when opening a disconnected recordset
- Index(es):
Relevant Pages
|
|