Read files selection from Clipboard

  • Thread starter Thread starter Petter L
  • Start date Start date
P

Petter L

I have been searching for how to read a fileselection from clipboard and
into the program. The code i have is currently just trying to read and put
it out in a messagebox.
The error is that the getdatapresent gives false. I got a readout in some
example code that says that it is was unicodetext but even that failed.
What i did to test is: selected three files and copy. then started the
example program but it failed on the type of format.
What type of format is a file selection? and how do i read it

Petter L
 
Use DataFormats.FileDrop. The return value of the GetData method is an array
of strings representing the file paths.

----------------
-Atul, Sky Software http://www.ssware.com
Shell MegaPack For .Net & ActiveX
Windows Explorer GUI Controls
&
Quick-Launch Like Appbars, MSN/Office2003 Style Popups,
System Tray Icons and Shortcuts/Internet Shortcuts
 
Back
Top