<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>24 Aug 2018 16:28:19 Z</lastBuildDate><pubDate>24 Aug 2018 16:28:19 Z</pubDate><description>Hi, I have a application where I do a drag and drop from outlook to windev to save my emails&#13;
Until now it works well I use this &#13;
MonOutlook is object OLE "OutLook.Application"&#13;
&#13;
and DnDEvent(ProcLâcherCible,IMG_Cible,dndDrop)&#13;
where Proces is&#13;
i is int&#13;
Sujets is array of strings&#13;
tabCorpsMessage is array of string&#13;
MailItem is object Automation dynamic&#13;
WHEN EXCEPTION IN&#13;
FOR i = 1 _TO_ MonOutlook&gt;&gt;ActiveExplorer&gt;&gt;Selection&gt;&gt;Count&#13;
MailItem = MonOutlook&gt;&gt;ActiveExplorer&gt;&gt;Selection(i)&#13;
Add(Sujets,MailItem&gt;&gt;Subject)&#13;
// on affiche les sujets des messages&#13;
Info (Sujets[i])&#13;
// on peut récupérer toutes propriétés de  MailItem&#13;
// mais attention à la sécurité &#13;
Add(tabCorpsMessage,MailItem&gt;&gt;Body) &#13;
END&#13;
&#13;
DO&#13;
END&#13;
&#13;
&#13;
It works well but in Office365 I only have one license of it and If I have openened outlook then the proyect crashes when I declare MonOutlook is object OLE "OutLook.Application", says to me that I can't have 2 outlooks oppeneds.&#13;
&#13;
There ara other way to drag and drop from outlook ?&#13;
I hope you can help me&#13;
&#13;
Thanks</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66730-outlook-drag-and-drop-with-office/read.awp</link><title>Outlook Drag and Drop with office 365</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
