Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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 the fire pops...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2018-03-20 21:51 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (259 votes). Check out past polls.