Ado/Oracle and INTERNAL OLE AUTOMATION ERROR

From: Jenny <amoykkyla_at_hotmail.com>
Date: Mon, 2 Oct 2000 14:12:14 +0300
Message-ID: <8r9qht$n0k$1_at_news.kolumbus.fi>


Hello

Does anyone know why I get this error when I use ADO connection to Oracle 7.3 with VB5-application?

-2147217900
INTERNAL OLE AUTOMATION ERROR The code looks like this:



Dim c As New ADODB.Command
c.CommandType = adCmdText
Set c.ActiveConnection = Nothing
c.ActiveConnection = AdoConn
c.CommandText = SQLQuery
c.Execute

Tia,
Jenny Received on Mon Oct 02 2000 - 13:12:14 CEST

Original text of this message