_oleobj_ and dir
yelled at yahoo.com
yelled at yahoo.com
Sun Dec 10 14:33:13 EST 2000
Hi,
I am trying to get available functions and attributes of COM obj:
adoConn = win32com.client.Dispatch('ADODb.connection')
adoConn.Open(connStr('roux'))
sqlStr = "SELECT ticker, cusip FROM security WHERE ticker in (%
s)" %StkList
if dbg: sqlStr
(adoRst, TF) = adoConn.Execute(sqlStr)
if I do dir(adoRst):
['_oleobj_']
and dir(rst._oleobj_)
['GetIDsOfNames', 'GetTypeInfo', 'GetTypeInfoCount', 'Invoke', 'InvokeTy
pes', 'QueryInterface']
I really want attributes like GetRows and others associated with ADO.
How do I get that?
Thanks,
Hoon,
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the Python-list
mailing list