define class TestClass as session olepublic implements IObjectConstruct in mtxas.appserver.1 cConnection = "" procedure IObjectConstruct_Construct(pCtorObj as variant) as void this.cConnection = pCtorObj.ConstructString endproc procedure Init * normal class Init: this gets called before the object constructor * cConnection is an ODBC connection string. nSQLHndl = sqlconnectstring(this.cConnection) * etc... endproc enddefineYou might need to register COM+ Services with the Intellisense Manager.