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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. send to fuction in Windows

send to fuction in Windows

Scheduled Pinned Locked Moved C#
4 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.
  • K Offline
    K Offline
    Kenneth_i
    wrote on last edited by
    #1

    Hi, I'm seeking a way to emulate "Send To" function. I just need to pass a file to .MAPIMail (it can pass a file to the default mua). .MAPIMail is normally located in C:\Documents and Settings\Default User\SendTo\ but doesn't have to use them. Simply prepare a file named like foo@test.local.MAPIMail (zero-byte) and drop a file with explorer. It'll attache the file to the default mua. If anyone knows about this, please let me know. I'm willing run the default e-mail client and a file attached. Thanks in advance.

    M 2 Replies Last reply
    0
    • K Kenneth_i

      Hi, I'm seeking a way to emulate "Send To" function. I just need to pass a file to .MAPIMail (it can pass a file to the default mua). .MAPIMail is normally located in C:\Documents and Settings\Default User\SendTo\ but doesn't have to use them. Simply prepare a file named like foo@test.local.MAPIMail (zero-byte) and drop a file with explorer. It'll attache the file to the default mua. If anyone knows about this, please let me know. I'm willing run the default e-mail client and a file attached. Thanks in advance.

      M Offline
      M Offline
      Mazdak
      wrote on last edited by
      #2

      I want Send To function for one of my C# projects too and in that time I couldn't find a .NET way for it, so I wrote a Shell Extension which do some task for my SEND TO function and register it with my application. But as I'm thinking now , those steps are doable in .NET too(not sure). This[^] article show you the VC6 way. If you couldn't translate it to .NET at least you can make that dll in VC6 which handle your job. Mazy No sig. available now.

      K 1 Reply Last reply
      0
      • K Kenneth_i

        Hi, I'm seeking a way to emulate "Send To" function. I just need to pass a file to .MAPIMail (it can pass a file to the default mua). .MAPIMail is normally located in C:\Documents and Settings\Default User\SendTo\ but doesn't have to use them. Simply prepare a file named like foo@test.local.MAPIMail (zero-byte) and drop a file with explorer. It'll attache the file to the default mua. If anyone knows about this, please let me know. I'm willing run the default e-mail client and a file attached. Thanks in advance.

        M Offline
        M Offline
        Mazdak
        wrote on last edited by
        #3

        For more help on Shell in C# you could search this site too. Mazy No sig. available now.

        1 Reply Last reply
        0
        • M Mazdak

          I want Send To function for one of my C# projects too and in that time I couldn't find a .NET way for it, so I wrote a Shell Extension which do some task for my SEND TO function and register it with my application. But as I'm thinking now , those steps are doable in .NET too(not sure). This[^] article show you the VC6 way. If you couldn't translate it to .NET at least you can make that dll in VC6 which handle your job. Mazy No sig. available now.

          K Offline
          K Offline
          Kenneth_i
          wrote on last edited by
          #4

          Thanks Magy. So, it sounds like there is no way in C# and I at least need to import a dll.

          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