Hello, I've created an addin derived from the example in the ..\win32com\demos directory (outlookAddin.py). I've also taken a look at the source code for the SpamBayes addin.
The addin works, but I get an error from Outlook when I close Outlook and then *immediately* try and restart it. The error from Outlook is "The operation failed." If I wait for a few seconds (after closing Outlook) and then restart it; I don't get the error message. I believe that Outlook is trying to "clean-up" the mess I've made in the addin and is not going to restart until it has done so :-) I've probably made some newbie mistakes. I'm not that good at this stuff, just yet! I'm using Office Outlook 2003 (11.5608.5606), no service packs. I get the error on Windows 2000 Pro SP4 and WinXP SP2. I'm using Python 2.4.3 and Pywin32 build 208. I didn't know if was appropriate to paste the entire piece of code to the list, so I've pasted it here: http://rafb.net/paste/results/ub5zwn45.html I'd appreciate any help!! Thanks, Bill _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32