[python-win32] I'm getting outfoxed by an ActiveX control...

2010-07-23 Thread Trent Nelson
Howdy folks, I'm getting outfoxed by a pesky ActiveX control that keeps bombing out with a 'Catastrophic failure' as soon as I try and interact with it: >>> from win32com.client import * >>> d = Dispatch('TWS.TwsCtrl.1') >>> d >>> d.connect('', 7496, 0) pywintypes.com_error: (-2147418113, 'C

Re: [python-win32] I'm getting outfoxed by an ActiveX control...

2010-07-23 Thread Tim Roberts
Trent Nelson wrote: > I'm getting outfoxed by a pesky ActiveX control that keeps bombing out > with a 'Catastrophic failure' as soon as I try and interact with it: > > >>> from win32com.client import * > >>> d = Dispatch('TWS.TwsCtrl.1') > >>> d > > >>> d.connect('', 7496, 0) > > pywintypes

Re: [python-win32] I'm getting outfoxed by an ActiveX control...

2010-07-23 Thread Trent Nelson
On 23-Jul-10 2:29 PM, Tim Roberts wrote: Trent Nelson wrote: >>> import wx, wx.activex >>> app = wx.PySimpleApp() >>> f = wx.Frame(None, -1, "") >>> clsid = wx.activex.CLSID('TWS.TwsCtrl.1') *** axw = wx.activex.ActiveXWindows(f, clsid) >>> wx.activex.GernerateAXModule(axw, 'Tws