How To ^NEW^ Download Filedrop

0 views
Skip to first unread message

Raymond Mirowski

unread,
Jan 21, 2024, 12:14:47 PM1/21/24
to rodrobagob

Using data.SetData(DataFormats.FileDrop, true, new String[] @"C:\test.txt" ); will not set the clipboard DataObject properly. Tip! If you interrogate clipboard you have to reset it. From -us/dotnet/api/system.windows.forms.clipboard.setfiledroplist?view=netframework-4.0

how to download filedrop


Downloadhttps://t.co/SeL2lMybZj



The FileDrop class has a built-in demo that can be run in any of the following ways:

  • Double-click the filedrop.jar file.
  • At a command prompt, enter java -jar filedrop.jar.
  • With filedrop.jar in the classpath enter java Example.

Ive been messing around with adding a file upload to my CRM events app. I have a list containing event data, which have buttons for adding new events, editing, deleting. Everything else works great, but im trying to add a filedrop zone to a modal button that is rendered in the list so as you click the "Add Images" modal button the modal shows up, and has the file drop zone in it. But there seems to be an issue with doing drop zones inside a list cause when i try to select a file, or multiple files it doesnt show the file name with the little x on the drop zone. If i take it out of the list on the main page it does show the file name with the x. Ive tried everything such as messing around with the form data key, etc but no luck after 2 hours of trying.

df19127ead
Reply all
Reply to author
Forward
0 new messages