Re: [python-win32] 2010 com addin and IRibbonExtensibilty

2010-12-08 Thread robert2682
Christian K. wrote: Hi Christian, As promised, attached please find a sample program for accessing the Office Ribbon from Python. A couple notes: 1)The program I've written is for Excel; if you want Outlook you'll need to change the registration code, but this shouldn't be a big deal!

Re: [python-win32] 2010 com addin and IRibbonExtensibilty

2010-12-07 Thread robert2682
Christian K. wrote: I even fail to get that far. What do I have to change here to be able access the new style toolbars? class Addin: _com_interfaces_ = ['_IDTExtensibility2'] _public_methods_ = [] _reg_clsctx_ = pythoncom.CLSCTX_INPROC_SERVER _reg_clsid_ = "{D371B22C-78B1-427

Re: [python-win32] 2010 com addin and IRibbonExtensibilty

2010-12-05 Thread robert2682
Christian K. wrote: Hi, has anybody experiencs in writing Outlook com addins using the IRibbonExtensibilty mechanism? I would like to make use of the ui features provided by office 2010. Currently I am creating office toolbars as demonstrated in the win32com.demos and all toolbars go to the "Add

[python-win32] Works in 2.6, doesn't in 2.7

2010-11-11 Thread robert2682
Hi, I've got a flaky problem. I'm working on a win32com based Excel add-in. The problem I've got is that under python 2.7, importing wx (wxPython) inside the Excel add-in fails. Under python 2.6, the same code works. I've written a sample program (attached) to demonstrate. To run: insta