Welcome, Guest
Username: Password: Remember me
Visual Objects

Please use this forum to post questions about Visual Objects and Vulcan.NET
  • Page:
  • 1

TOPIC:

DragDrop from Outlook 01 Sep 2021 15:25 #19492

  • ecos


  • Posts: 22
  • Hi,
    does anybody know how to accept .msg-files via dragdrop from outlook ? Dropping files from explorer works fine, but if I drag an email from outlook the cursor only shows a "stopsign" and no drop-event is fired...

    Please Log in or Create an account to join the conversation.

    DragDrop from Outlook 01 Sep 2021 16:14 #19495

    • wriedmann
    • wriedmann's Avatar


  • Posts: 2726
  • Hi Karl,
    unfortunately to make work the drop from Outlook you have to do massive OLE work because Outlook sends only OLE objects.
    But there is a free workaround: please look at this Outlook plugin:
    tonyfederer.github.io/OutlookFileDrag/
    I'm using than for a few years now everywhere I need to drag messages and attachments from Outlook to my VO programs.
    Wolfgang
    Wolfgang Riedmann
    Meran, South Tyrol, Italy

    www.riedmann.it - docs.xsharp.it

    Please Log in or Create an account to join the conversation.

    DragDrop from Outlook 02 Sep 2021 08:19 #19496

    • ecos


  • Posts: 22
  • Hi Wolfgang,
    many thanks for your quick answer. It confirms what I found out myself. I just wanted to be sure that I don't miss anything obvious. Main problem will certainly be to convince our customers to install a plugin...
    Will DotNet make things easier in any way ? We hope to have our conversion running by the end of the year.
    Karl

    Please Log in or Create an account to join the conversation.

    DragDrop from Outlook 02 Sep 2021 08:29 #19497

    • wriedmann
    • wriedmann's Avatar


  • Posts: 2726
  • Hi Karl,
    unfortunately .NET does not change anything here.
    So if Microsoft does not changes anything in Outlook and you have then upgraded all your customers to this version, you have to convince your customers to install that plugin.
    It is easy to explain: it makes something Microsoft has forgotten to implement.
    Wolfgang
    Wolfgang Riedmann
    Meran, South Tyrol, Italy

    www.riedmann.it - docs.xsharp.it

    Please Log in or Create an account to join the conversation.

    DragDrop from Outlook 02 Sep 2021 08:35 #19498

    • ecos


  • Posts: 22
  • in a certain way this makes things easier for me personally, dealing with the customers is someone elses job here...
    Thanks again for th clarification

    Please Log in or Create an account to join the conversation.

    DragDrop from Outlook 09 Sep 2021 09:15 #19539

    • fxm


  • Posts: 29
  • Have you looked at this?

    www.codeproject.com/Articles/28209/Outlook-Drag-and-Drop-in-C

    The code works well. The sample allows you to drag to the form and it saves the .msg file in the application folder. No plugins required.

    Fergus

    Please Log in or Create an account to join the conversation.

    DragDrop from Outlook 09 Sep 2021 09:21 #19540

    • ecos


  • Posts: 22
  • I'll have a look at this. But I don't think it will be possible with VOGUI-classes even in x#. Switchin to winforms is no option...

    Please Log in or Create an account to join the conversation.

    DragDrop from Outlook 10 Sep 2021 14:23 #19547

    • ArneOrtlinghaus
    • ArneOrtlinghaus's Avatar


  • Posts: 268
  • We have succeeded Drag&Drop of Outlook emails in VO and also in X# with the VO-GUI-Classes (modified partially by us).

    It was a work of many, many weeks. I can share some code (not compilable) if someone is interested. But also when having some code you will surely have to spend at least two other weeks to get everything working! I can't help, I have not programmed it and I am getting headache when looking a parts of it. My colleagues, who programmed it, have not time to help anybody. The code is partially written in C for VO and partially written in C# for X#. As we want to change the GUI-Classes to Winforms we know already that there will be much work again. Of course Winforms should make some parts easier, but not everything. There are many exceptions to handle.

    So perhaps the solution Wolfgang proposed, is much easier to implement.

    Arne

    Please Log in or Create an account to join the conversation.

    • Page:
    • 1