I have some code which loops through all emails in a specified (outlook) folder, and copys all the attachments to my hard drive which are word documents.

Trouble is if Outlook goes down whilst this is happening my program just freezes as Outlook is Not Responding.

How can I detect if Outlook is Not Responding, and Kill it if it isn't responding?

(also is there any way of simulating Outlook going down, to make testing this better than just waiting for it to go down? )