thomas heller tazezsnctypesorg larry bates schrieb thomas heller wrote larry bates schrieb ive spent morning searching cant seem find typelibrary name com interface sometimes someone wants use object vb writes idl file compiles typelib could also try maybe little googling found zipfile containing library httpwwwmsjogrennetdotnetengsamplesvb6_progdlgasp ok downloaded project stripped tlb got comtypes able use comtypesclientgetmodule generate typelib wrapper module getmoduleprogdlgtlb cpython25libsitepackagescomtypesgen_2f2719a2_83cc_11d3_a08c_0040f6a4bfec_0_1_1pyc import comtypesgenvbprogressdialog cant seem figure three classes generated class iolewindowcomtypesiunknown class iprogressdialogcomtypesiunknown class progressdialogcomtypescoclass instantiating iprogressdialog seems give instance methods im looking least show idle callable methods try call one get following message larry instantiate generated classes directly must use comtypesclientcreateobject function passing coclass parameter think code work import comtypesgenvbprogressdialog comtypesclient import createobject dia createobjectcomtypesgenvbprogressdialogprogressdialog diastartprogressdialog thomas _______________________________________________ pythonwin32 mailing list kpitckaew45pythonorg httpmailpythonorgmailmanlistinfopythonwin32 wed 06 aug 2008 035854 0100 pythonwin32 help calling iprogressdialog interface