Hmmm...though technically it shouldn't matter...try

rs = new OLEObject("ADODB.Recordset")

no capital S on the set.

like I said, it shouldn't matter...but otherwise the object creation seems valid, so case sensitivity seems to be the next logical thing to check.


Hope it helps

Stephane Richard

----- Original Message ----- From: "Alex Cassol" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, September 27, 2006 2:58 PM
Subject: OLEAutomation + ServiceApplication


Sorry about my english...

Well... I have an app that run as a service application.
I have de follow lines on run method:
 dim rs As OLEObject
 rs = new OLEObject( "ADODB.RecordSet" )

If I run app via console, runs pretty. If I start the service, occurs the
error:"Invalid class string" in line rs = new OLEObject( "ADODB.RecordSet"
).

Thank's.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.8/455 - Release Date: 9/22/2006



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to