Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Copy file to Clipboard, like Explorer in win32

by ldln (Pilgrim)
on Dec 12, 2005 at 01:56 UTC ( #515931=perlquestion: print w/ replies, xml ) Need Help??
ldln has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
I've been searching high and low for some tool/example of how we can copy file to clipboard like explorer does, so that it can be pasted out again.

I've seen in demonstrated in VB, Delphi, C# and *almost* in perl here, but its not quite working.

My win32 API understanding is very weak. Do any of the mighty monks here have any chance of getting this to work?

Comment on Copy file to Clipboard, like Explorer in win32
Re: Copy file to Clipboard, like Explorer in win32
by dorko (Parson) on Dec 12, 2005 at 03:33 UTC
      Many thanks for that link and MANY THANKS to BrowserUk for that code and tutorial. It works very nicely what he describes here.

      Btw. How would we proceed if we wanted to do something like this from C# or Delphi (to get it to work with perl, I mean)?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://515931]
Approved by monkfan
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2014-07-28 21:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (209 votes), past polls