Drag and Drop Attachment from Outlook to LABVIEW

Hi,
I try to write a very simple program, which manages files. With the path control of LABVIEW we fortunately can Drag and Drop files from e.g. explorer, whose path I can use after dropping. The problem is, that I would like to do this directly with files from an Outlook mail attachment. Drag the attachment and drop it onto my LABVIEW window and be able to handle this file (copy elsewhere and rename it, for example)... That is what I dream of.
I searched the internet for a long time, but I didn't find a solution.
Thanks a lot for your help,
yours,
Daniel

Probably not as easily. Drag & Drop in Windows is a complicated thing with the Server and Client negotiating a format to transfer. The server can offer many formats and the client then selects the one it can handle. The LabVIEW path control only can handle physical paths. So if the server application offers a path as one of the formats and then when the application selects that format makes sure that the file is copied somewhere in the filesystem (temporary path) and sends that path to the client, the LabVIEW path control will work fine. If the server application insists into memory stream only formats, the LabVIEW path control can not deal with them in any way. Outlook being a Microsoft product most likely insists in OLE formats and then you get into trouble.
You basically need to interface to the Win32 or OLE Drag and Drop API to get this working. And no it's not trivial at all, because Drag and Drop not only varies greatly between platforms but also between OS versions.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • Unable to use "drag and drop function" from outlook

    We are changing from Lotus to outlook and this has made a problem with getting pdf-files into OAWD directly .
    Procedure was like this in Lotus
    1. We get documents (FI, F-43, aso ) by email
    2. We use OAWD function "drag and drop" , document is attached to a document type and workflow is triggered
    3. We pick up documents from Business workplace , handle the document and send it to the approver (who earlier got it directly in their mailbox "lotus")
    so far so good , everything worked well
    Unfortunately we changed to outlook, non attached files can be "drag and dropped" into OAWD (I understand the part about outlook is showing links instead of "real" pdf and know this is part of the problem)
    My question, it can not be possible that we have to manually save the documents/attached files from outlook into "desktop" to later use the drag and drop function?
    I have read about the programms to solve problem , ex "inPuncto", but our experts says there will be problem with connector to workflow from OAWD.
    I have my greatest doubts about that because this must be really two diffrent moduls, one for converting from outlook and the other must be unchange (undependent of the earlier procedure). SAP can not know from what program the documents will be dragged? 
    Suggestion about some OAWD-adaptor ?
    Any suggestions about great solutions ?

    it seems there is no way.
    See note 1797073
    Is there someone with a better solution?

  • Mail "New Message" window retreats to background after drag and drop attachment from Finder to Mail "New Message", click, and Finder window stays in foreground even when not in focus

    Hi, I'm surprised I can't quickly find if anyone else is having this issue. For me it has been going on since Lion on my 13" MacBook Pro 2011 and it's still persisting in Mavericks, and even still now that I've "downgraded" to a 15" MacBook Pro 2010 with Mavericks.  The behavior is odd and difficult to explain concisely. Basically, when I want to add an attachment to Mail, I'll Cmd+Tab over to Finder click and drag and Cmd+Tab back to Mail, and drop the attachment. At first it looks fine, but when I click in the New Message window where I just dropped the attachment, to move the cursor, it retreats to the background and the Mail Main Window comes to the foreground. Then, if I click on that, the Finder window that I just used comes to the foreground. Sometimes if I switched to another app before going to Finder to select the drag and drop, that other app window will appear in the foreground instead. If I click on the other app window that is now in the foreground, then the Finder window that was last used will come to the foreground. The only thing that seems to fix this switch-a-roo effect is Cmd+Tab-ing back and forth a few times, or click on the window "frame" at the top to move the window around.
    The way to prevent this is to have my Mail Message window visible in the foreground side by side with the Finder window when the drag and drop occurs (this is a tedious extra step if mulitple windows are open, or to use the add attachment command in the menu within Mail. But it sure is annoying buggy behavior.
    Thanks
    Daniel

    Yep, I get exactly the same thing when using Thunderbird mail client on my 2011 iMac running Lion. I've been putting up with it for at least a year, maybe longer.
    For me it appeared to start after a Thunderbird update, so I figured that was the cause and couldn't find a solution at the time. However I've now noticed it starting to happen in Apple Motion 4 when dragging files from Finder into a DropZone in my animations. Motion remains the active program but the Finder window sits on top until I Cmd-tab out to a third open program (ie not Finder) and back to Motion again.
    This is the first indicator I've had that it's an OS X issue.
    Be great to find a solution as D&D is by far my preferred way of adding attachments to emails and similar tasks.

  • Drag and drop files from Outlook move mails to delete box

    Hi everybody,
    I'm trying to develop a feature to be able to drag one or several mails from Outlook to my Java application.
    As Java doesn't recognize a drop of an Outlook mail, in my program, I assume that if it's not a known file type, it is a mail. (I know it's quite straightforward).
    When one or several mails are dropped I use a function from a plugin to get detail from the Outlook mails to import them into my application. In fact it import the data from the current selected mails in Outlook. This function is working perfectly when I use it without drag and drop (from a button 'Import' in the application).
    My problem is that when I use drag and drop, mails are imported correctly but sometimes (not always) they are also moved in the delete box of Outlook. I have done several tests to try to figure out what is the cause. I have used several versions of Outlook, I have dropped 1 mail and several mails a the same time, etc...
    Here are my tests results: it deletes the mails randomly but it seems to delete more often when my Java application isn't in full screen.
    What could be the cause?
    Another question: is it possible to configure my drop area to do copies only and not move? When you drag and drop you have a small symbol next to your mouse arrow. It is a '+' inside a square for copy and an empty square for move. My drag and drop does move by default. I could maybe avoid my deletion problem by changing it to copy?!
    Cheers.
    Edited by: Foobrother on Apr 16, 2009 2:46 AM

    I think I have fixed it. I still have to make more tests, but it doesn't delete the mails any more for the moment.
    In fact, when dropped item is detected as a file I do dtde.acceptDrop(DnDConstants.ACTION_COPY);But if it's not, I just set a variable to say that it is an Outlook mail.
    So I have added the line dtde.rejectDrop(); to cancel the drop. And now it seems to work.
    Apparently, I didn't clean some stuff when doing an email drop and it still wanted to move the mail or something?!
    Anyway, thanks for the help

  • Drag and drop file into Outlook from AIR application

    I am hoping to see if this would be possible with the Adobe AIR API. We currently have a desktop AIR application that clients install in order to facilitate certain operations triggered via a web application (such as opening files directly from the web).
    One of the actions we are requested to support is the ability to drag and drop files from our web application directly into Outlook and have the file added as an attachment. I saw the documentation at Adobe Flash Platform * Dropping file promises and was wondering if this might be a possibility, or if there was some other method of performing this.
    We are trying to get around the fact that users now have to download a document to their desktop before being able to attach in Outlook.
    Thanks for any assistance.

    You just aren't calling the right NativeDragManager functions. See http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118666ade46-7d83.html

  • Drag and Drop attachement files to applications like web browsers

    I am able to drag and drop files from file explorer to html 5 web site.  Why can't I drag and drop outlook attachment to the same web site?  What is the difference between the two?
    In terms of development, what need to be done to make it work?  If there is more than one way, please, list them.
    Thanks in advance

    Just wanted to say hi and check if there is anything that I can do for you on this problem.If
    so, please do not hesitate to let me know and I will be happy to help.
    Best Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Drag and drop data from Numeric Control or Numeric Array to excel file

    I have two inquirries about drag and drop:
    1. How to drag and drop data from a Numeric Array or Numeric control to excel file
    2. How to drag and drop data from a Numeric Array or Numeric control to an Numeric array Indicator?
    The item 2, I tried it with the event structure, but it didnt work.
    Please do reply.
    mytestautomation.com
    ...unleashed the power, explore and share ideas on power supply testing
    nissanskyline.org
    ...your alternative nissan skyline information site

    There are very good drag and drop examples that ship with LabVIEW.  Have you looked these over to see if they can be modified for your needs?
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

  • Why can't I drag and drop music from a folder on my PC into my iTunes window?

        Why can't I drag and drop music from a folder on my PC into my iTunes window?
    I have not found any article that has answered this question. They have come up with things like open the side bar and it will work, or you are using wrong format of music. Now this all happened when I upgraded to iTunes 10 and has not worked since and it worked fine before. Music format is correct, I have even gone as far as copying a file already in iTunes and trying to add it again. As soon as the files enters the frame of iTunes the music files icon the pointer is carrying turns into a circle with a slash through it.
    ITunes Ver. is 11.1.5.5  Windows Ver. is Windows 8.1 Pro with Media Center
    Files I have tried adding are standard MP3, 256 kbps purchased AAC Audio file, MP3 converted by iTunes into a 256 or 320 kbps AAC Audio file. None can be draged and droped but all can added by going to File/Add File to Library...  or File/Add Folder to Library...
    Add items from your computer to your iTunes library
    Do either of the following:
    1. Drag a file or folder from the desktop to the iTunes window.If you add a folder, all the files it contains are added to your library.
    2. In iTunes, choose File > Add to Library, locate a file or folder, and click Open.
         I can add files and folders by doing number 2 above but can not doing number 1
    I have gone as far as uninstalling iTunes and reinstalling per apple procedures below.
    Steps
    1. Remove iTunes and its related components from the Control Panel
    Use the Control Panel to uninstall iTunes and related software components in the following order and restart your computer:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Important: Uninstalling these components in a different order or only uninstalling some of these components may have unintended effects.

    I had this problem on Windows 8.1.1 and iTunes 11.2.2.3
    To resolve it from within Itunes I did :  Edit, Preferences, Sharing.
    I took the tick out of "Share my library on my local network"
    Click OK.
    Closed iTunes/
    Reopened iTunes and I can drag and drop.
    I went back into Edit, Preferences, Sharing and put the tick back and clicked OK.
    Works fine now.

  • Why cannot I drag and drop songs from one playlist to another?

    Actually I have two questions.  I just updated from Leopard to snow leopard.  Now when I import songs, it says "Do you want to import to burn playlist?"  I click "yes".  Then when it is finished copying, I go to "playlists" on the top of the screen and click on the "burn playlist" and it says there are no items.  Where did the songs go.  I would like to burn a playlist that I imported this way.  I haven't tried arranging songs in the order I want them yet, but now see that is an issue also.  I also used to see a list of my playlists on the left side of the screen and the songs within each of those playlists when I clicked on them and easily could drag and drop songs from one playlist to another.  How do I do the same functions that I used to do before I updated? Does this update make it impossible to do the same functions as before?  Where can I find a "manual" of sorts to direct me to explain this new format?  If there is no way to do these things, I will have to say that I want my old iTunes back.  Can I do so???  Actually, the only reason I updated was so that I could play pix and movies from my camera into iPhoto.  When I did so, it said I had to update other programs to get iPhoto to work.  I am trying very hard not to be very frustrated.  PLEASE HELP!!!!!!!!!!!!!!!!!!

    After poking around for a while figured how to do things in this new iTunes.  Not as intuitive as the old one.  Sorry I don't have time to tell what I figured out.  Maybe some other time.

  • HT2518 how do i or can i drag and drop files from one external drive to another ???HOW

    how do i drag and drop files from one external drive to another, i cannt get both drives to open up. only one at a time.. i have alot to learn i know but that is where i am at the time...

    You posted here so would assume you are also talking about running Windows.
    Are the drives NTFS and use on Windows?
    Are they Mac HFS formatted?
    You likely will need NTFS for OS X in one case. to mount PC and use under Mac OS Lion
    MacDrive to mount and WRITE to HFS drives under Windows

  • Really stupid that you can't drag and drop photos from Finder into Events

    There is no way in iPhoto to do what I want and need to to, to wit, drag and drop photos from the Finder into existing iPhoto Events.
    It really doesn't make sense that you can't do this. First of all, calling these groups Events to begin with is not smart; in my case, a group of photos in a folder on the Finder is rarely all from one photo session or so-called "event"--- instead of Events they should just be called Groups or something, and you should be able to drop individual photos into them. I have thousands of family photos that were accumulated on my hard drives over the years, some scanned in from film negatives, slides, or prints, others from digital cameras, and when I have changed Macs and hard drives over the years, every time a folder of photos was moved from an old hard drive to a new one, or regrouped into various folders, the photos seem to have acquired new dates of origin, etc.
    Anyway, what I mean is, if Events are all time based, then somebody like me who has thousands of photos with all sorts of dates of origin, mostly unrelated to the date that the photo was actually shot, is screwed. I have old photos with new dates of origin and other mismatches between photos and the dates when they were actually shot or scanned.
    My gripe is, again, that when I find photos on my hard drives that belong in certain iPhoto Events that have already been created, I cannot just drag these photos from the Finder and drop them into the Events they belong in. Instead, the stupid program creates a new Event from each photo I try to drop into an existing Event. That means I have to chase these new photos all over the place inside of iPhoto, trying to figure out where each new photo (now called an "Event") has ended up, so that I can drag and merge it into the Event I wanted it to go into in the first place. A real pain in the neck. It simply takes too long to do this for each photo added.
    What this means is that iPhoto is not going to be a practical way to organize for a person like me until Apple makes it possible to simply drop any photo from the Finder into an existing Event. There should be an option to allow that. I'm really surprised there is not one. <edited out by Hosts>
    Tom

    Tom, iPhoto will not overwrite photos with the same name. I have plenty of photos with the same name in the same event. Each photo most likely has an internal handler that manages the photo, and not just the name of the file.
    I agree with you that this is sub-optimal, and (IMO) I think what happened is iPhoto 6 had rolls, and they came up with a really cool interface for mousing over those rolls, and decided it was more consumer friendly (and because film is a thing of the past) to call them events, rather than rolls. I think it was worth a shot, but they just slightly missed.
    Right now in iPhoto08, any serious organization is done in folders and albums. Personally, I think they need to combine the two concepts -- the great "mouse over" view of events with the organization abilities of folders and albums. I'd like an albums view where I can mouse over the albums. Actually, Aperture 2's interface for organization is more functional than iPhoto, so I am hoping some of that benefit creeps into the next iPhoto release.
    What I do is: I use events for high level grouping (like Winter 2007) and I organize folders and albums to break that down further ("trip to Montreal" "Christmas" etc.). But I do it backwards. I fill albums first, then I organize events.
    When I drag in pictures to iPhoto, first I make the target album in iPhoto that I want to populate, then I drag the photo directly to that album (not to events). iPhoto automatically puts the photo into the album I created and also into a new event. Later, I go into events, right-click on this new event to "open event in separate window" then I move around the events view, to drop in the pictures from the "import" event I just created. If I move all the pictures into other events, iPhoto automatically deletes the event I just emptied. You could skip the event organization all together if you wanted to, but you'd lose the cool mouse-over feature, which can be handy.
    One nice thing about having events AND albums is you can have the photo just once in iPhoto, in an event, but then have the photo appear in as many albums as you want (as well as projects and web galleries) all while only having one photo on your hard drive. So, there are benefits to events, but I think iPhoto is missing just a couple little bits of organizational ability to make it perfect. (and yes, I've submitted this all to Apple as feature requests)
    Just in case you don't know -- events don't have any hierarchy. That is, you can't nest events. But you can have folders with subfolders, and any folder can contain albums. Albums cannot have sub-albums, and folders don't hold photos. Only albums hold photos, and folders (or sub-folders) hold albums. Try create some folders and albums and you'll get the hang of it. One other issue that Apple needs to address. When you create a new folder or album, it doesn't put it right where you want it, but rather puts it at the bottom of the list, so you have to drag it up to where you want it. Try it out, and you'll see what I mean, then submit it as a feature request to improve that.
    I agree it's not perfect, but it's not too bad once you get used to it. And the benefits of working with the rest of the features of iPhoto is worth it. I'm just really hoping they do a few tweaks on the next release. They are near greatness here. They could just use a little nudge on the last bits. (in my opinion of course. Others may disagree, but I've talked to enough people who have the same issues you are having to know we are not alone on this).

  • I can't drag and drop songs from library to playlists

    Unable to drag and drop songs from library into playlists, however I can drop them above or below playlists. That is no help in editing playlists! Seems to be after last iTunes up date.
    Tkank you

    My mistake totally!!! I confused a new playlist folder with a new playlist.
    Just wanted to pass that along.

  • HT203128 I can't drag and drop music from iTunes 12 to iOS 8 iPhone 5s. How do I move music now?

    I connect the iPhone to itunes. that works. Everything shows up fine, but I can't drag and drop music from the 'music' section of iTunes 12 on my new mbp or my iMac. I used to be able to. Also, when I slide to delete songs on the iPhone, they still appear as 'ghosts' in the list on iTunes when the phone is connected - if I double click them, a exclamation mark in a circle comes up on the left of the track and it doesn't play. Can anyone help? Kind of need to get this sorted - it's bloody frustrating. I've restarted iPhone, iMac, MBP, downloaded the latest versions of iOS, OS X 10.10.3.

    you iphone does not work like a regular ipod, where you can drag and drop music, you must sync it with itunes. plug it into your computer, click on the icon that is labeled iphone. when you do this there is a section on the top that says music. click on that, then you can select playlists and artists, etc. then click apply. it should work then

  • Can't drag and drop music from itunes to Iphone

    my brother recently updated to a newer version of itunes and i can no longer drag and drop music from my itunes to my iphone! ive tried everything that i know and nothing is working! i tried checking the 'manually manage music' box, but everytime i do that it asks me if i want to erase and sync and doesnt give me another option. I dont want to do that! my songs that are on my ipod are not on my current itunes! they are lost ;( . i turned on home sharing (not sure what that did but i tried it) and i also authorized the computer... help please!

    you iphone does not work like a regular ipod, where you can drag and drop music, you must sync it with itunes. plug it into your computer, click on the icon that is labeled iphone. when you do this there is a section on the top that says music. click on that, then you can select playlists and artists, etc. then click apply. it should work then

  • Can't drag and drop songs from iTunes to ipod

    Why can't I drag and drop songs from iTunes to ipod

    Hi there ASA101,
    You may want to verify that you have "Manually Manage Music" enabled in iTunes. Take a look at the article below for more information.
    Managing content manually on iPhone, iPad, and iPod
    https://support.apple.com/kb/ht1535
    -Griff W.

Maybe you are looking for

  • Runtime errors are not showing in debugger!

    Hi, I have recently faced a very strange problem. at first I thought maybe it's because of the new Air SDK 15 build 302 but after switching back to older SDK the problem is still there! any idea or hint about this would be great. just tell me the fir

  • Networked Printing Through a Windows PC

    I just upgraded my network to Linksys N router. Most of connections are working, but I have two vexing problems. I cannot print to Laserjet that is connected to an HP Laptop. I have tried several of the suggestions on the forum (using CUPS, manually

  • LINK to Database with different GLOBAL_NAME

    Could anybody help me? We have two databases with different GLOBAL_NAME parameter. First database has GLOBAL_NAME=true, second - 'false'. I would like to make LINK from first database to second. If I make link name as a simple word ('DBST'- for examp

  • Urgent - Serious problem in production (server crashes unexpectedly)

    Hi, We got the following error in production server and caused the server to exit immediately. It just crashed the server. There are some jsp calls before this error. Tue Jan 02 14:20:23 EST 2001:<E> <HTTP> --------------- nested within: ------------

  • ESR in SPROXY is wrong.

    Hi, In my landscape I have two SAP PI 7.10 integration serverers. SYS_A contains the SLD and SYS_B shares this SLD. Now I have a Business system SAP NW 7.00 as SYS_C, which will be using the integration server SYS_B and the SLD from SYS_A. I have reg