any help with this would be gratefully received.
I have a Windows Forms project in C#. This, when a button is pressed opens a new Outlook email via interop. When the email has been sent and added to the sent items folder, the Windows Forms project then opens a single form which contains a single panel currently.
My problem is that everything seems to run fine, I use Marshalling to sever the links with the interop instance of Outlook all other methods seem to run as normal in the Windows Forms project, but the form that is opened (called zoom) just shows the Spinning Wheel waiting symbol.
When I break on the code to see what it’s doing, it appears to be doing nothing. This is driving me nuts. Can anyone suggest why the form (Zoom) that is launched after the interop facility has done its stuff and apparently been disposed appears to hang.
It does appear to me somehow to be connected to the Interop instance but I can’t see how.
As I remember interop objects should be disposed.
Try this