Comments on: Drag and Drop Outlook Emails onto .NET Application http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/ I will not fix your computer. Tue, 04 Aug 2020 22:34:33 +0000 hourly 1 https://wordpress.org/?v=4.7.26 By: Thomas http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/#comment-22907 Fri, 17 Aug 2012 07:48:00 +0000 http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/#comment-22907

If you have something selected in Oulook but dragged something else onto the form. It saves these selected Outlook emails. How to deal with that?

Reply  |  Quote
]]>
By: Ian Reid (expanz) http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/#comment-18204 Fri, 07 Jan 2011 03:46:10 +0000 http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/#comment-18204

This is great. So simple and effective.

Reply  |  Quote
]]>
By: Ankit http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/#comment-14160 Fri, 29 Jan 2010 13:56:53 +0000 http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/#comment-14160

the actual error is that…

“Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation.”

can you ppl help me out in this..

thnks in advance.

Reply  |  Quote
]]>
By: Ankit http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/#comment-14159 Fri, 29 Jan 2010 13:51:31 +0000 http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/#comment-14159

Hello,

I tried to implement the same thing but i got a error message like object reference not set into following loop.

for (int i = 1; i <= OL.ActiveExplorer().Selection.Count; i++)

at very firts line..

can you help me out.

thanks,

Reply  |  Quote
]]>
By: Jake http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/#comment-13946 Wed, 06 Jan 2010 15:29:53 +0000 http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/#comment-13946

Nice solution. I’ve implemented something nearly identical, however, in my case Outlook decides to delete the dragged item once it’s been dropped (or once my code is done with it possibly..dispose?)

Have you had this problem? If so, how do I avoid it?

Reply  |  Quote
]]>
By: alrhr http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/#comment-13675 Mon, 30 Nov 2009 13:55:28 +0000 http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/#comment-13675

Nice post. Still I have a problem with your solution. When I drag some other file to my form not originating from outlook, these files should be rejected. But instead your application imports the currently selected message from outlook (as long a outlook is open of course).

Reply  |  Quote
]]>
By: wow power leveling http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/#comment-12956 Tue, 11 Aug 2009 09:29:28 +0000 http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/#comment-12956

Wow, this is very useful.. Thanks for sharing this and hoping I could implement it too.

Reply  |  Quote
]]>
By: Ross Kelly http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/#comment-12292 Wed, 13 May 2009 09:14:14 +0000 http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/#comment-12292

Thanks for the artice. Well done.

If you add a using statement as follows:

using Outlook = Microsoft.Office.Interop.Outlook;

you can then refer to Outlook without the whole Microsoft.Office.Interop. declaration in front of it.

Reply  |  Quote
]]>
By: Vittorio Luison http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/#comment-11033 Wed, 17 Dec 2008 09:00:11 +0000 http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/#comment-11033

very fine and sample solution, tanks

Reply  |  Quote
]]>
By: Matt http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/#comment-10796 Mon, 24 Nov 2008 18:19:29 +0000 http://www.terminally-incoherent.com/blog/2008/04/30/drag-and-drop-outlook-emails-onto-net-application/#comment-10796

It’s called Newforma and it kicks ass.
Unfortunately it does a LOT of other things for AEC industry that many could care less about but the Microsoft method is only going to increase the madness.

Reply  |  Quote
]]>