|
-
Oct 8th, 2000, 03:55 PM
#1
Thread Starter
New Member
was wondering if sumone could help..I am a beginner programmer ..and was wonderin if sumone cuold help me with my problem..
How would i go about settin it so that it will save a picture from an image box/picture box when i right click the mouse anywhere on the screen?
-
Oct 8th, 2000, 04:02 PM
#2
Frenzied Member
[code]
Private Sub Form_Load()
Me.KeyPreview = True
Picture1.Picture = LoadPicture("c:\MYFILE.jpg")
End Sub
Private Sub Form_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbRightButton Then
SavePicture Picture1.Picture, "c:\MYFILE.jpg"
End If
End Sub
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Oct 8th, 2000, 04:23 PM
#3
Use the SavePicture Function:
Code:
SavePicture Image1.Picture, "D:\Me.bmp"
-
Oct 8th, 2000, 04:25 PM
#4
Oops, Jop, didn't see yours.
Pardon-moi, Jop, mais je ne parle pas le "post" pour vous.
-
Oct 8th, 2000, 04:47 PM
#5
Frenzied Member
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|