[python-win32] FetchProgress event problem

2005-12-22 Thread Dawid Zamirski
Hello I'm trying to track recordset loading progress (it is loaded asynchronously), but neither FetchProgresss or FetchComplete event is launched. I played with WillMove events in sychronous mode and they work just fine. Can someone guide me how to get those events fired? I'm using pywin32 bui

[python-win32] Adding Printers on Windows XP

2005-12-22 Thread Brad Tilley
When I do this: import win32print printers = ['http://128.173.120.65'] for printer in printers: pHandle = win32print.OpenPrinter(printer, None) #print pHandle pInfo = win32print.GetPrinter(pHandle, 2) #print pInfo win32print.ClosePrinter(pHandle) pAdd = win32print.AddPr