Re: [python-win32] FetchProgress event problem

2005-12-27 Thread Dawid Zamirski
Success! The PumpWaitingMessages method solved the problem and the events are called now. Thank You, Dawid Roger Upole wrote: > Try adding pythoncom.PumpWaitingMessages() at the point where > you're waiting for the fetch to complete. The events show up for > me if I add this loop to the bot

[python-win32] win32com.client - How to raise an exception after timeout

2005-12-27 Thread Gregory PiƱero
Hi guys, I'm working with the COM stuff in python-win32 to talk to QuickBooks and in the last line of the code below, the function just hangs (forever?). I was hoping someone could enlighten me on how to have an exception raised after a specified time has passed so I can clean up and continue my