Clipboard copy

Post

Posted
Rating:
#1 (In Topic #412)
Avatar
Guru
cogier is in the usergroup ‘Guru’
I am struggling with Clipboard.Copy(). I want to copy a picture in a PictureBox but I just get errors. I have tried several versions including: -

Code (gambas)

  1. Clipboard.Copy(PictureBox1.Picture,"image/png")

Any ideas?
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Regular
Cedron is in the usergroup ‘Regular’
Try

Code (gambas)

  1.     Clipboard.Copy(PictureBox1.Picture.Image)
  2.  

.... and carry a big stick!
Online now: No Back to the top

Post

Posted
Rating:
#3
Avatar
Guru
cogier is in the usergroup ‘Guru’
Thanks Cedron, that sorted it. Have a look at the completed program here
Online now: No Back to the top
1 guest and 0 members have just viewed this.