VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Clear the clipboard and copy an image to it with 2 lines

by Michel Chekrallah (2 Submissions)
Category: Windows System Services
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Wed 18th September 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Clear the clipboard and copy an image to it with 2 lines

Rate Clear the clipboard and copy an image to it with 2 lines



'that contains a commandButton and an image
'copy a picture to the image 
'press F5 and then click the command button
'run the Paint program click paste for test

Private Sub Command1_Click()
    Clipboard.Clear
    Clipboard.SetData Image1.Picture
End Sub


Download this snippet    Add to My Saved Code

Clear the clipboard and copy an image to it with 2 lines Comments

No comments have been posted about Clear the clipboard and copy an image to it with 2 lines. Why not be the first to post a comment about Clear the clipboard and copy an image to it with 2 lines.

Post your comment

Subject:
Message:
0/1000 characters