Re: [python-win32] Looking for python-win32 version of EasyGUI

2009-02-08 Thread Chaim Krause
Thanks for the suggestions folks. I took a look at all of them, but none of them meant my requirements for a EasyGUI-like wrapper for dialog boxes using the win21 API. What I ended up doing was going with Pythoncard. It was simple enough for me to use that within one day I had ported my app to

Re: [python-win32] mapi - writing to PR_BODY

2009-02-08 Thread Mark Hammond
On 8/02/2009 7:06 PM, Christian K. wrote: write should return the number of bytes written but it returns None here. It appears Roger fixed this on 2007/08/07 and the fix was in builds 211 and 212. Cheers, Mark ___ python-win32 mailing list python-

Re: [python-win32] reliability issues with ReadDirectoryChangesW

2009-02-08 Thread Tim Golden
Eric Blade wrote: [... snipped code ...] If it's possible, consider posting to something like pastebin or some other online snippets clipboard so we can see the whole code. It's even more difficult debugging something when you only have half the code! :) TJG

Re: [python-win32] reliability issues with ReadDirectoryChangesW

2009-02-08 Thread Tim Golden
Eric Blade wrote: I am getting significantly unreliable results using ReadDirectoryChangesW, attempting to use a simplified version of the codes that had been presented to me in my last query for help.. Eric, can you say what results you *are* getting and in what way they're unreliable? I don't

Re: [python-win32] OT: MS Office Addin -- Guidance/Advice

2009-02-08 Thread Michel Claveau
Hi! Look for C:\Python26\Lib\site-packages\win32com\demos\excelAddin.py and C:\Python26\Lib\site-packages\win32com\demos\outlookAddin.py It's a goods exemples, and startpoints, for addin for Excel & Outlook. For Word, sorry, no addin possible. But you can make a button for a macro who will call

[python-win32] mapi - writing to PR_BODY

2009-02-08 Thread Christian K.
Hi, according to http://msdn.microsoft.com/en-us/library/cc839695.aspx writing to the PR_BODY property of a mapi message should be done more or less like the following: def TextToStream(mapi_object, text): prop_id = PR_BODY_A stream = mapi_object.OpenProperty(prop_id,