[wxPython] ActiveXWrapper

The ActiveXWrapper looks great.
I've got the gencache constructed ID for Excel
xl =
win32com.client.gencache.EnsureModule('{00020813-0000-0000-C000-000000000046
}', 0, 1, 3)

when I call

ActiveXWrapper = MakeActiveXClass(xl.Applicaiton)

my call fails with:

C:\Python20\wxPython\demo>python ActiveXWrapper_Excel.py
Traceback (most recent call last):
  File "ActiveXWrapper_Excel.py", line 44, in ?
    frame = TestFrame()
  File "ActiveXWrapper_Excel.py", line 36, in __init__
    self.tp = TestPanel(self, sys.stdout)
  File "ActiveXWrapper_Excel.py", line 19, in __init__
    self.xl = ActiveXWrapper(self, -1, style = wxSUNKEN_BORDER)
  File "c:\python20\wxPython\lib\activexwrapper.py", line 102, in
axw__init__
    (0, 0, sz.width, sz.height), self._wnd, ID)
  File "c:\python20\pythonwin\pywin\mfc\activex.py", line 23, in
CreateControl
    self.__dict__["_obj_"] = win32ui.CreateControl(clsid, windowTitle,
style, rect, parent, id)
win32ui: CreateControl failed

···

--
Dr. Chris Wright
Deputy Director, ICU
Monash Medical Centre, VIC.
Australia

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users