[python-win32] MSMQ - cannot catch COM_ERROR withpythoncom.com_error

2008-07-22 Thread Lynton Grice
Hi there, Please help me ;-) I know how to push / pop messages off of a MSMQ, also how to create a queue etc.but my problem is I cannot seen to catch the com_error when I try create a MSMQ that already exists ;-( The basic code is as follows: import win32com.client import pythoncom import

Re: [python-win32] MSMQ - cannot catch COM_ERROR withpythoncom.com_error

2008-07-22 Thread Tim Golden
Lynton Grice wrote: Please help me ;-) I know how to push / pop messages off of a MSMQ, also how to create a queue etc.but my problem is I cannot seen to catch the com_error when I try create a MSMQ that already exists ;-( The basic code is as follows: import win32com.client import