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?
]]>This is great. So simple and effective.
]]>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.
]]>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,
]]>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?
]]>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).
]]>Wow, this is very useful.. Thanks for sharing this and hoping I could implement it too.
]]>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.
]]>very fine and sample solution, tanks
]]>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.