Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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:

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

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://515931]
Approved by monkfan
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2017-11-24 06:01 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (344 votes). Check out past polls.