Re: [python-win32] Dispatches With Events on COM Object

2006-08-02 Thread Mark Hammond
> When I run this, I get the following error: > > Traceback (most recent call last): > File "C:\Program > Files\Python24\Lib\site-packages\pythonwin\pywin\framework\scr > iptutils.py", > line 310, in RunScript > exec codeObject in __main__.__dict__ > File "C:\Documents and Settings\benn\D

Re: [python-win32] Cleanly Close System Tray Process

2006-08-02 Thread Gregory Piñero
I documented this code and added some background info here: http://www.answermysearches.com/index.php/why-killing-processes-may-be-hurting-you-and-what-to-do-about-it/154/ On 8/2/06, Gregory Piñero <[EMAIL PROTECTED]> wrote: > On 8/2/06, Tim Roberts <[EMAIL PROTECTED]> wrote: > > This code is not

Re: [python-win32] Cleanly Close System Tray Process

2006-08-02 Thread Gregory Piñero
On 8/2/06, Tim Roberts <[EMAIL PROTECTED]> wrote: > This code is not actually correct. There can be many windows for a > given window class, but your get_all_windows function will only return > the last one found for each class. A better implementation of > _MyCallback would be: Thanks for the c

Re: [python-win32] Cleanly Close System Tray Process

2006-08-02 Thread Tim Roberts
On Tue, 1 Aug 2006 15:34:56 -0400, " Gregory Pi?ero " <[EMAIL PROTECTED]> wrote: >Ok I figured out how to do it: > >Here's the code I made mostly from copying the examples. If anyone >could tell me how the code works, that would still be appriciated, for >example why/how do I need this function _

[python-win32] How to create an ActiveX/OLE control

2006-08-02 Thread ah
Hello list,   Can I make an ActiveX/OLE control from a wxPython GUI app ? Any info would be greatly appreciated !   All the best. Arye. ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] Dispatches With Events on COM Object

2006-08-02 Thread Neil Benn
Hello, I am trying to use PythonCOM to interact with a provided proprietary COM object. The Object consists of three dispatch interfaces: IApplication IApplicationEvents IDocumentEvents This can be accessed using the CoBaseClass by ProgID 'OpalControl.Applcation' - so far so goo

Re: [python-win32] OLE Server Busy dialog box

2006-08-02 Thread Mark Hammond
> I've been trying to solve a small but disturbing problem with > win32com, but I can't. > It's the "OLE Server Busy" problem [1]: > "If you call a method on a COM server from an MFC COM client > application and if the method takes a long time to process and return > back, you won't be able to do a

[python-win32] OLE Server Busy dialog box

2006-08-02 Thread Diogo
Hi all! I've been trying to solve a small but disturbing problem with win32com, but I can't. It's the "OLE Server Busy" problem [1]: "If you call a method on a COM server from an MFC COM client application and if the method takes a long time to process and return back, you won't be able to do anyt