[python-win32] Sending an event from a python COM server to a VB COM client

2005-11-15 Thread Gary
Hello I am trying to send an event from a Python COM server to a VB (or VB.NET) COM client. Iam a newbe both in VB and in python. Can anyone give me asimple (but complete) code example both of the Python server side and the VB client side for raising a single event. Any answer would be

Re: [python-win32] error message after many win32pipe.popen calls

2005-11-15 Thread Bill Burns
[Jürgen wrote] Hi all, currently I'm testing a scipt which converts many (500) ps files to pdf. I use ghostscript and the conversion is done by win32pipe.popen( ps2pdf.bat inputfile outputfile). I got the following error message, but it seems that all files were correctly converted:

Re: [python-win32] error message after many win32pipe.popen calls

2005-11-15 Thread Jürgen Kareta
Hi Bill, thanks for your help, it works for me too :-) Jürgen [Jürgen wrote] Hi all, currently I'm testing a scipt which converts many (500) ps files to pdf. I use ghostscript and the conversion is done by win32pipe.popen( ps2pdf.bat inputfile outputfile). I got the following error

Re: [python-win32] monitoring application controls...

2005-11-15 Thread Brian Jarrett
What you need are Windows hooks, which allows you to participate in the window procedures for other processes. Implementing a hook requires code in a DLL, because the DLL has to actually be injected into another process, to run in that processes context. That would usually make Python

[python-win32] mapisend.py - How does it work?

2005-11-15 Thread Gregory Piñero
Would anyone be kind enough to explain a bit about how this Python24\Lib\site-packages\win32comext\mapi\demos\mapisend.py demo program works? Specifically I was wondering: Does it require that I have outlook installed? Does it require that there is an exchange server somewhere? What is the role

Re: [python-win32] mapisend.py - How does it work?

2005-11-15 Thread Mark Hammond
Specifically I was wondering: Does it require that I have outlook installed? It requires outlook plus the simple mapi, or cdo libraries. These are an optional component of the office 2000 install that is de-selected by default (ie, you need to explicitly install it). Worse, for later Outlook

Re: [python-win32] mapisend.py - How does it work?

2005-11-15 Thread Joshua Kaderlan
On 2005-11-16 12:23 +1100, Mark Hammond [EMAIL PROTECTED] wrote: B. I was asked to send emails through my company's exchange server. (will this count?) Any pointers on how to do this otherwise? If your exchange server is acting as an SMTP server you could just use smptlib. Otherwise