Re: [python-win32] OLE COM in Python

2011-05-25 Thread Bobby Metz
The Perl is just passing an interpreted string. Couldn't you just do the same in Python? N="3" ml.Execute("M="+N) -or- ml.Execute("M=magic("+N+")") depending on whether magic() is needed. or alternately if you must have integer values in your python var. N=3 cmd="M=%d" % N ml.Execute(cmd) o

Re: [python-win32] pyTTS in versions later than 2.5 [SEC=PERSONAL]

2011-05-25 Thread Andrew MacIntyre
> I got hold of pyTTS-3.0.win32-py2.5.exe, but it seems to be like last > available > version off the sourceforge website - might be able to double check that one > when at home, since this machine is a bit slow/unstable when it comes to > certain types of web browsing, but anyway - was just wonde

Re: [python-win32] pyTTS in versions later than 2.5

2011-05-25 Thread Mark Hammond
On 25/05/2011 8:40 PM, Jacob Kruger wrote: I got hold of pyTTS-3.0.win32-py2.5.exe, but it seems to be like last available version off the sourceforge website - might be able to double check that one when at home, since this machine is a bit slow/unstable when it comes to certain types of web bro

Re: [python-win32] RTD Server problem with Excel 2007 / How to do vtable-call, without IDispatch?

2011-05-25 Thread Mark Hammond
I'm afraid I can't really help, but: On 25/05/2011 8:11 PM, Tobias Oberstein wrote: How can I call on the interface not via IDispatch, but using vtable-based direct call? You can't I'm afraid. However, your "casting" code might be suspect: # Need to "cast" the raw PyIDispatch object to th

[python-win32] pyTTS in versions later than 2.5

2011-05-25 Thread Jacob Kruger
I got hold of pyTTS-3.0.win32-py2.5.exe, but it seems to be like last available version off the sourceforge website - might be able to double check that one when at home, since this machine is a bit slow/unstable when it comes to certain types of web browsing, but anyway - was just wondering if

[python-win32] RTD Server problem with Excel 2007 / How to do vtable-call, without IDispatch?

2011-05-25 Thread Tobias Oberstein
> Tim Roberts wrote: > > ... > > and get a generic COM exception when the RTD server tries to notify > > Excel of data changes (from the trace collector): > > ... > > The COM Error is: "generic COM exception 0x80020009" > > > > The callpath that leads to the exception is: > > > > > > excelRTDServer