[python-win32] py2exe and com server again

2009-04-26 Thread Christian K.
Hi, despite all the information on this list and on the wiki I can't get my com server up from the py2exe created dll. As it is a outlook com server I followed the approach taken in the spambayes project, i.e. in the addin I have: bValidateGencache = not hasattr(sys, "frozen") gencache.Ensur

Re: [python-win32] ANN: PyGUI 2.0.5

2009-04-26 Thread Greg Ewing
Randy Syring wrote: Could you tell me briefly how this project differs from something like wxPython? It wraps platform-specific libraries directly, rather than being a wrapper around another cross-platform library. This means less bloat and less dependencies. Chances are you already have the n

Re: [python-win32] ANN: PyGUI 2.0.5

2009-04-26 Thread Randy Syring
Greg, I have done some testing and reverting to pywin build 212 allows the demo to run without the previously seen exception. -- -- Randy Syring RCS Computers & Web Solutions 502-644-4776 http://www.rcs-comp.com "Whether, then, you eat or drink or whatever you

Re: [python-win32] ANN: PyGUI 2.0.5

2009-04-26 Thread Randy Syring
Greg, I have tested 12-scroll.py on both Vista Professional and Windows XP Pro SP3 both with Python 2.5.4 and pywin build 213. Said test fails with the "the object has been destroyed" exception. -- -- Randy Syring RCS Computers & Web Solutions 502-644-4776 htt

Re: [python-win32] ANN: PyGUI 2.0.5

2009-04-26 Thread Randy Syring
Greg, Could you tell me briefly how this project differs from something like wxPython? Thanks. -- -- Randy Syring RCS Computers & Web Solutions 502-644-4776 http://www.rcs-comp.com "Whether, then, you eat or drink or whatever you do, do all to the glory of Go

[python-win32] ANN: PyGUI 2.0.5

2009-04-26 Thread Greg Ewing
PyGUI 2.0.5 is available: http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/ More bug fixes for various platforms. Still no idea what's causing the "object has been destroyed" error on Windows XP, though. Does this happen for everyone? Is there anyone who *has* got 12-scroll.py working f

Re: [python-win32] Formatting parts of an excel cell

2009-04-26 Thread Baehr, Manuel
Hi Mark, > I got an error with that as well, but I figured out the correct way: > > import win32com.client > xl = win32com.client.gencache.EnsureDispatch('Excel.Application') > xl.Visible = True > xl.Workbooks.Add() > c = xl.ActiveCell > c.FormulaR1C1 = 'Hello World' > c.GetCharacters(1,5).Font.C