Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. Outlook Message Drag-and-Drop Handling

Outlook Message Drag-and-Drop Handling

Scheduled Pinned Locked Moved IT & Infrastructure
winformssysadmintutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Shane Brodie
    wrote on last edited by
    #1

    Hello fellow Code Project Denizens ... I have a task where we want to be able to drag-n-drop messages from Outlook into a windows Forms application storing the dropped message as a *.msg file which is stored on a network file system. Does anyone know where I can find information on how to handle the drop data from Outlook(2003)? So far my Googling has turned up nothing useful. The only workaround so far is to drop the msg onto the desktop which generates a *.msg file. That file can then be drag-n-dropped onto my drop target and the file is properly handled. I'd like to cut out the middle step if possible. Shane ":-DIt's a feature:-D" Brodie

    C 1 Reply Last reply
    0
    • S Shane Brodie

      Hello fellow Code Project Denizens ... I have a task where we want to be able to drag-n-drop messages from Outlook into a windows Forms application storing the dropped message as a *.msg file which is stored on a network file system. Does anyone know where I can find information on how to handle the drop data from Outlook(2003)? So far my Googling has turned up nothing useful. The only workaround so far is to drop the msg onto the desktop which generates a *.msg file. That file can then be drag-n-dropped onto my drop target and the file is properly handled. I'd like to cut out the middle step if possible. Shane ":-DIt's a feature:-D" Brodie

      C Offline
      C Offline
      Chris Meech
      wrote on last edited by
      #2

      Does this[^] help? There is probably some more code needed though, so that you can query Outlook and tell it to save the message. But I think this might be a start.

      Chris Meech I am Canadian. [heard in a local bar] Nobody likes jerks. [espeir] Hey, I am part of a special bread, we are called smart people [Captain See Sharp] The zen of the soapbox is hard to attain...[Jörgen Sigvardsson] I wish I could remember what it was like to only have a short term memory.[David Kentley]

      S 1 Reply Last reply
      0
      • C Chris Meech

        Does this[^] help? There is probably some more code needed though, so that you can query Outlook and tell it to save the message. But I think this might be a start.

        Chris Meech I am Canadian. [heard in a local bar] Nobody likes jerks. [espeir] Hey, I am part of a special bread, we are called smart people [Captain See Sharp] The zen of the soapbox is hard to attain...[Jörgen Sigvardsson] I wish I could remember what it was like to only have a short term memory.[David Kentley]

        S Offline
        S Offline
        Shane Brodie
        wrote on last edited by
        #3

        Thanks for the reply Chris. I know how to handle Drag-And-Drop:doh:. The problem is in handling the drag-and-drop "data" for an Outlook e-mail message. Maybe a better question on my part would have been "what is contained in the e.Data property when you drop an Outlook e-mail message? And, what do you pass as parameters in the e.Data.GetData() method to retrieve that data?:confused:" Thanks again. Shane ":-DIt's a feature!:-D" Brodie

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups