Suraj Barkale <[EMAIL PROTECTED]> writes:
> So following should work
> line.SetXData([1001, 1070], [VARIANT('Test_Application'), VARIANT(600)])
>
Thank you Suraj. I tried your suggested code and got this error:
ctypes.ArgumentError: argument 2: <type 'exceptions.TypeError'>: Cannot put
VARIANT(vt=0x8, u'Test_Application') in VARIANT
Btw, this is from the VBA reference about the SetXData method:
object.SetXData XDataType, XData
XDataType
Variant (array of short); input-only
XData
Array of Variant; input-only
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
comtypes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/comtypes-users