Drag and drop file list to MS PowerPoint

Hi there !
I've implemented a Transferable that supports drag and drop of multiple files from java application to natives. I took a DataFlavor.javaFileListFlavor and my getTransferData() method returns a Vector of File. My most important files are images in different formats.
This runs very well for most of the MS applications like Word, WordPad, Internet Explorer, File Explorer, Paint Shop Pro, .... These application import all my transferred files and show their image(s).
But I didn't reach for doing this with PowerPoint. On dropping to PowerPoint a message appears: "PowerPoint cannot open files of type <MyFile>."
If I drag and drop my files to the file explorer and then from there to PowerPoint it works as well as if I take the files my Transferable wrote to a temporary directory.
What's wrong ? What's the difference between PowerPoint and most other applications ? And What can I do to transfer my files to PowerPoint ?

Look up javax.swing.TransferHandler, java.awt.datatransfer.DataFlavor, and DataFlavor.javaFileListFlavor.

Similar Messages

  • Drag-and-drop tree list from files/folder

    Hello all. I'm new to Flex and I'm looking for some help or
    for someone to point me in the right direction. I want to write a
    simple AIR application to accept a multiple text files (or a folder
    full of text files) when the files/folder is dragged into a tree
    list. The file/folder name will be the node name. When selected,
    the contents of the file will be displayed in a text area. The text
    file will contain a 4 x 4 number matrix with each column separated
    by a tab and each row separated by a return. (I plan on plotting
    the numbers in the matrix in the future).
    What I'm most confused about is how to go about
    dragging-and-dropping files into a tree list and creating item
    names based on the file/folder name? And does the file content need
    to go into an array collection?
    Maybe I'm going about this in a difficult way. If there is an
    easier way, I'd appreciate it if someone could share. Thank you
    all.

    I have the same problema and I´m not able to find the reason.
    The solution to get the event raised has been to copy configurations from wd standard appl FPM_TEST_DND_FORM and use my own Z feeder class : all  seems to work perfectly , but , if I try to do it from scratch the event  FPM_DROP_COMPLETED it´s not raised .
    I´ve compared both configurations/class ( the one that I´ve done from scratch  that it doesn´t raise the event and the one that I´ve adapted copying from standard that it raises perfectly  the event) and I haven´t  seen any difference (maybe I haven´t found) .

  • Can't drag and drop files in iTunes 7.6

    I've suddenly lost the ability to drag and drop files in iTunes, so I can't change the order of items within a playlist, move tracks from one playlist to another, or move a selection of tracks to an external drive. When I click & hold on a track, nothing happens at all; if you try to drag the file it doesn't move then bounce back - just no reaction at all. One day it worked fine, next time I launched iTunes the problem appeared. I'd had 7.6 up and running for about a month without this problem, and had no other software downloads or updates immediately before the problem appeared. I'd not changed any iTunes preferences either.
    I've checked that lefthand column in the playlist is selected, & that shuffle is turned off, & I'm not trying to move things into a smart list. I've tried trashing the com.apple plist, and repairing disk permissions. My iTunes library lives on an external hard drive, but this hasn't been an issue before. Drag and drop still works fine in other apps, so I don't suppose it's a mouse or Finder issue.
    I see a few other people have posted about this, but I haven't seen any solutions yet that worked for me. Am I missing something blindingly obvious? If anyone's got any ideas on this one I'd be eternally grateful - the ability to move things around easily was one of the main attractions of iTunes for me.

    Thanks David - that wasn't it, but I have managed to find a fix after trawling through various forums - I logged out then logged back in. Simple as that! Sadly I'm still none the wiser as to what caused the problem in the first place, so don't know if or when it'll reoccur. I also found it was affecting iPhoto after I first posted, so not an iTunes specific problem obviously. Thanks to all those who posted fixes in various forums, though some looked a little too scary for me to try out...

  • Still loose ability to drag and drop files in Project pane.

    In the last two weeks, I've had two instances where I lost
    the ability to drag and drop files within the Project pane.
    However, here's the kicker...the problem doesn't manefest itself
    until after I end my session, close RH, then restart the computer
    and restart the project. That means I don't know that I'm working
    in a broken project until AFTER I've zipped up and saved the
    current project. I tried addressing this in this orum once already
    and I received some suggested fixes (included in the list below)
    but it never fixed and and has happened again.
    Some pieces of information:
    - I've deleted the .xpj and cpd files, no joy.
    - I've regenerated the output, then tried to move a file, no
    joy.
    - I've generated a CHM (supposedy to update other files), no
    joy.
    - I'm not attempting to move a file to a directory where that
    name already exists
    - If while I'm having the problem, I create a nw project, new
    folders, and new topics, they move around fine.
    - If I create a topic IN the directory with the problem, I
    cannot move that file.
    - I've zippd up a broken project and sent it to Adobe. They
    openned it and it was fine. They zipped it back to me and it still
    wasn't.
    - If I create a new project, replicate my directory
    structure, and import the htm files into the new structure (a
    ubdirectory at a time), the files move fine.
    - I'm only working local on Windows 2000 with 30 GB of disk
    space, and I have not installed anything else on the computer in
    the last 2 weeks.
    - I've escalated this to the next level at Adobe and am
    sitting by my phone with my headset waiting for the call back
    "within the next two hours".
    Anyone seen this?

    quote:
    Originally posted by:
    Amebr
    Could the files have somehow been set to read-only?
    I'm not sure on the exact details of your process, but if you
    open the project after unzipping it, perhaps the unzip process has
    changed that file attribute...?
    I appreciate your response, but no...all files and
    directories had all permissions allowed. The zip process wasn't
    involved until aftrer the problem showed itself...I zip just for
    backup with the hope that I never have to go to it. It was my
    working project that lost the ability to move files. It just turns
    out that after it happened and I went to the zip that it showed
    that the problem had affected the files before I zipped them and
    therefore, the zip was of the broken set.

  • Cannot drag and drop files in Finder on Yosemite 10.10

    This is basically exactly as it sounds. I just discovered that I can't drag and drop files in the Finder anymore for some reason. I've restarted 3 or 4 times since upgrading, and I've reset the SMC and PRAM already. Because of this, I can't update an application I'd like to. Copying the application does not work either; the paste option is greyed out  It's not just applications; click-and-drag and three-finger drag simply don't drag the file. It is not happening invisibly either; going through the motions and dropping the file on Applications yields no result.
    I searched the Web for this but didn't find anything similar for Yosemite. If anyone has a suggestion or the same problem, I would love to hear it.

    For two days I tried everything I could to get the drag and drop to start working again in Yosemite on my MacBook Pro Retina. I even re-installed the OS via Disk Recovery. I wound up at the Apple Store where they couldn’t find the bug either, but we did the following and I am back up and running. There is a bit of a downside, so please read all the way through.
    I have no idea if this will help you, but if you log in under a GUEST account and this drag and drop issue is NOT there - then try this. For whatever reason this bug was localized to just my single user settings Library. The GUEST account could drag and drop fine. Weird. Anyway, here’s what we did at the Apple Store that has kept me up and running….
    Create a new user
    Logout (deactivates the busted user library) and then login as that new user.
    Enable Root User (superuser) while logged in under this new user. YouTube has some 1min. videos on how to do this.
    Navigate to the Library (which is usually invisible) listed under your original admin user account.
    Rename this folder. I just added ORIGINAL to it.
    Also, create an alias for this folder and leave it there.
    Go turn off Root User and log out.
    Now, when you log back in under your usual User Acct. the system can’t find the Library system folder (because you renamed it) so it creates a fresh one. This new Library folder will still be invisible to you, but should work.
    This fixed my drag and drop problem.
    What this does though is kill all of your plists, saved website passwords, bookmarks, application settings, etc. for everything. I mean everything. Which kind of stinks.
    This is why we created the alias in Step 05, click on it and you can open your ORIGINAL Library folder and drag out the files as you need them. I guess one day I'll drag over the one setting that borked my machine, but I haven't found it yet.
    This is certainly not ideal and may not even be the best solution. But it got me up and running with no loss of files, just slows me down as I have to re-populate all my log-ins, etc.
    Hopefully someone will come up with a better fix or patch.
    Hope this helps.

  • Drag and drop Files to native disk lazily

    I need help on how to copy, through DnD, a file/attachment from an email application (http://columba.sf.net) to the native operating system. Theres no problem to drag and drop files that already resides on the file system, this Ive done without any problem.
    The problem is that the attachment lies within the email, and it needs to be extracted before it can be copied to the correct location. For performance reasons I dont want to extract all attachments to the disk when the user opens an email with attachments. Neither do I want to extract the attachment during the user's DnD operation. I would like to make the copy/extraction when the DnD has been completed.
    As Ive understood is that when I want to DnD a file to the desktop, I must have a Transferable that supports the DataFlavor javaFileListFlavor. This will return a List of Files by the getTransferData() method. But the problem is that the Files must exists on the diskdrive before it the DnD starts, ie before the getTransferData() method is called.
    This I cannot do, since I the getTransferData() method is called multiple times during the DnD action, and I dont want to extract the attachment until the DnD is complete. (performance issues)
    My first idea was to create an empty dummy file on the disk, and use this as the source File to be dragged around. Then when the DnD is completed, I would extract the attachment from the email and make the copy manually. Doing it this way, Im sure that
    * theres no unecessary extraction,
    * the user doesnt have to wait until he has choosen where to put the file
    * the extraction is done according to the API for the email client.
    But as it seems now, theres no way of knowing the location of the drop target from the TransferHandler or the DataFlavor. And if I dont know the location of the drop, I cannot make the manual copy.
    Do anyone know of a solution or workaround, using the new or old DnD implementation?
    ANy help is appreaciated!

    Hi RedSolo! I've been working with the exact same problem for quite some time. I think your "workaround" in the frappucino module seems to be the best way to solve this problem. I have almost the same solution in my project. What I would like to do is to present a progressbar during the time it takes to wait for the "create files thread" to finish. But I haven't found a solution since I'm blocking the event thread. Do you have any tips or ideas how to solve this?
    Thankful for any ideas!!

  • Close folders while drag-and-dropping files?

    When dragging files to move them, often some large folders will be open, which means I have to drag/scroll thru the file list to get to other folders. Is there a way to close folders while dragging files?

    EMichaelM wrote:
    I just installed two widgets that are supposed to function by dragging and dropping files into them. How do I get access to files? How do you get files from the Finder into the dashboard?
    You need to activate Dashboard's "Developer Mode" in order to keep widgets active on the desktop.
    Open Terminal and enter the following command:
    <PRE>
    defaults write com.apple.dashboard devmode YES
    </PRE>
    Close Terminal, log out of your user account, and log back in again. To move a widget onto your desktop, activate Dashboard and start dragging the widget to the desktop. Press F12 before letting up on the mouse button to close Dashboard, and the widget should now be permanently affixed to the desktop. Drag to your desired location.
    Steve

  • I have 2 auxillary disk drives for my MacBokk Pro. Time Machine uses one for backup and I use the other for storage, but I am unable to create a new folder or drag and drop files or folders to the aux drive.

    I am unable to create a new folder on either of my auxillary disk drives.  I can access the files and folders that were there when I transferred one of the drives from a PC.  Time machine uses one for backup and I want to use the other to store photos which are large files.  An help would be appreciated.

    Thanks for the reply.  If I reformat the drive will I be able to access the files on it from the MAC.  I do not share the drive with a PC.  The files were originally created on a PC which I no longer use.  I do want to continue to access the files put there by the PC.  I would like to not have to copy them over to the MAC hard drive just to use them.  The second aux drive is new and works fine because it was formatted by the MAC.  I can drag and drop files there and work with just as if they were on the internal drive.

  • 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

  • Drag and drop files into folders in iPad reader? or iTunes?

    is it possible to drag and drop files into folders in iPad reader? or iTunes?  It is very clunkey to have to click each separate file to instruct it to move to the folder.  Better still, can I just sync an existing folder on my hard drive so the pdf's inside always remain up to date on my iPad?

    There is no way to drag and drop in Reader on an iPad.
    There is no way to sync PDFs in a folder on your hard drive to those inside of Reader.
    There are readers (which are NOT free) which let you do some of these things and have more capabilities. You might check out PDF Expert from Readdle which costs $9.99 US.

  • I can't drag and drop files...

    Hello!
         Out of nowhere, I can no longer drag and drop files on my desktop or within my Finder windows.  I also cannot drag pictures from Safari onto my Desktop.  I do not think there is a problem with my Trackpad as I can still move Safari windows and the like around the screen.  I am using an Intel-based Mac Book Pro with OS X 10.5.8  Any help would be amazing and much appreciated.  Thank you!

    I'm having the same issue.  I can no longer drag images from Safari (5.1.2) to Finder.  I am on Lion (10.7.2).  Has anybody found a fix for this?  Having to right-click and "Save As..." makes me feel like I'm working in Windows XP, which is, needless to say, he11 of an unbearable kind.

  • Drag and dropping files into widgets

    I just installed two widgets that are supposed to function by dragging and dropping files into them. How do I get access to files? How do you get files from the Finder into the dashboard?

    EMichaelM wrote:
    I just installed two widgets that are supposed to function by dragging and dropping files into them. How do I get access to files? How do you get files from the Finder into the dashboard?
    You need to activate Dashboard's "Developer Mode" in order to keep widgets active on the desktop.
    Open Terminal and enter the following command:
    <PRE>
    defaults write com.apple.dashboard devmode YES
    </PRE>
    Close Terminal, log out of your user account, and log back in again. To move a widget onto your desktop, activate Dashboard and start dragging the widget to the desktop. Press F12 before letting up on the mouse button to close Dashboard, and the widget should now be permanently affixed to the desktop. Drag to your desired location.
    Steve

  • Unable to drag and drop files or folders

    Hi
    I'm unable to drag and drop files or folders. I can't drag from a folder to desktop, I can't drag from finder. I can't move files around. I can't drag from itunes into ipod.
    I've run Onyx and disk permission repair, cleaned all caches etc, all to no avail.
    Get info tells me I have read and write permissions.
    Can someone please help me.
    Thanks

    I'm having the same problem, the terminal command to make that testfile worked, guess its a good sign but i wouldn't know, I also have a couple of extra problems:
    It started with VisualHub saying "Critical componats of Mac OS X are missing or damaged on your system, Without them, VisualHub is unable to continue. The affected componats is/are: - /tmp Temporary Directory. Try Repairing Permissions using Disk Utility"
    So i did that using OnyX, rebooted, still didn't work, so i remember hearing about how reinstalling .3 of 10.5.3 can help replace files that are lost, so i did that and thats where it went wrong, it rebooted and it seemed to go good, but then i noticed a big ? where Camino is meant to be on my Dock and i looked in my stack and it was gone, Safari would crash on the 5th letter i typed anywhere on the browser, (Safari and Webkit Nightly) At least Firefox works so i can post this, Spotlight is gone from the menu bar, i can't drag anything from the dock and i can't drag safari from the App stack or the dock crashes.
    The thing that worries me is why was Camino deleted? and Safari crashing?
    If anyone has a solution to this you would be a HUGE help, i really don't want to reformat my mac because i don't have anywhere to backup my files, i don't have the money for a decent sized HDD to backup into.
    Thanks all who help!!!

  • Can't drag and drop files into Attachments while in Administrator mode

    I can drag and drop files into attachment easily when I'm not in Administrator mode. But I need to be in Administrator mode at work and therefore for some reason I cannot drag and drop files into attachments; I'm forced to manually search and select particular files for attaching, which significantly slows my day-to-day work.
    Is it a bug?
    I have the up-to-date version of Thunderbird and I use MS Windows 7 Ultimate.
    Any help would be highly appreciated.
    Thx

    To diagnose problems with Thunderbird, try one of the following:
    *Restart Thunderbird with add-ons disabled (Thunderbird Safe Mode). On the Help menu, click on "Restart with Add-ons Disabled". If Thunderbird works like normal, there is an Add-on or Theme interfering with normal operations. You will need to re-enable add-ons one at a time until you locate the offender.
    *Restart the operating system in '''[http://en.wikipedia.org/wiki/Safe_mode safe mode with Networking]'''. This loads only the very basics needed to start your computer while enabling an Internet connection. Click on your operating system for instructions on how to start in safe mode: [http://windows.microsoft.com/en-us/windows-8/windows-startup-settings-including-safe-mode Windows 8], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7 Windows 7], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-vista Windows Vista], [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx?mfr=true" Windows XP], [http://support.apple.com/kb/ht1564 OSX]
    ; If safe mode for the operating system fixes the issue, there's other software in your computer that's causing problems. Possibilities include but not limited to: AV scanning, virus/malware, background downloads such as program updates.

  • Can't drag and drop files onto Applications in Dock since upgrading to 10.6

    Ever since my wife upgraded her iMac (2 GHz, 2 gigs) to 10.6, she can no longer drag and drop files onto certain applications in her dock to open the file. She has to go into the application and go to "open file" or whatever.
    For example, if she has a Word doc on her desktop, she cannot drag it onto the Word icon in her dock.
    Any advice?

    You have many issues with your and your wife's machine(s). Everything you've posted works here. Reinstall Snow Leopard, repair permissions, and see if that fixes things.

Maybe you are looking for