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

2006-08-09 Thread Mark Hammond
I can throw you a new win32uiole module with the functions referenced in the knowledge base article, but apart from trying to fiddle with the main thread's thread-state (search for 'sys.coinit_flags'), I can't offer much more help... Mark Some more details about the server busy dialog box.

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

2006-08-09 Thread Mark Hammond
* The call to Dispatch happens * The __wrapDispatch is called with an object for dispatch but the username is None * The getTypeInfo method throws an pywintypes.com_error which has the message of (-2147467263, 'Not implemented', None, None) It is that last step where

[python-win32] win32ui.CreateFileDialog error

2006-08-09 Thread Tim Riley
Can anyone explain to me why the following code will return a list if I select 12 files but will return None if I select 13?#file: pdf_batch_plot.py#auth: Tim Riley#rev: 0#desc: Allows the selection of multiple pdf files and batch plots them to pdf. ##Note: This program requires the win32all

Re: [python-win32] win32ui.CreateFileDialog error

2006-08-09 Thread Tim Roberts
Tim Riley wrote: Can anyone explain to me why the following code will return a list if I select 12 files but will return None if I select 13? It's an ugly but well-known limitation: the buffer passed to CreateFileDialog is big, but not big enough. When you select more files than will fit,