"Claudio Grondi" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "JustSomeGuy" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > news:[EMAIL PROTECTED] > > Hi I have a commercial OCX that I want to use in > > my python application. How do I call OCXs from > > python? > > TIA > > import win32com.client > axOCX = > win32com.client.Dispatch("RegistryEntryForThisOCXin[VersionIndependentProgID > ]section") > retVal = axOCX.methodOfThisOCX(param1, param2) > value = axOCX.attributeOfThisOCX > > Claudio > >
Thank you Claudio... Can you explain the RegistryEntryForThisOcxin[VersionIndependentProgID] I don't know what I should use here.. -- http://mail.python.org/mailman/listinfo/python-list