Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Active Directory ADO strange objects returned

Thread Tools

Active Directory ADO strange objects returned

marc wyburn
Posts: n/a

I have a script that returns data from active directory using ADO.
Everything works except for any fields that use a time value I get an
instance of an object returned called <COMObject GetRows>. I know
it's a time object because if I do object.HighPart or object.LowPart I
get a value back. The bit I don't understand is how I inspect the
object to work out what it is programmatically. Do I need to do some
sort of makepy trickery so that the object is understood by Python? I
have already makepy'd MS ActiveX Data Object 2.8.

thanks, Marc.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Seaching Active Directory via ADO LittlePython Python 10 02-19-2006 05:29 AM
Translating Oracle Package Call from ADO to ADO.Net ASP .Net 0 02-14-2005 10:39 PM
Transfer ADO Code to ADO.NET ronaldlee ASP .Net 1 12-17-2004 04:08 PM
Accessing an ADO Recordset or Record from ADO.NET nita ASP .Net 1 11-20-2004 07:06 AM
Ado sort error-Ado Sort -Relate, Compute By, or Sort operations cannot be done on column(s) whose key length is unknown or exceeds 10 KB. Navin ASP General 1 09-09-2003 07:16 AM