|
-
Jun 19th, 2009, 03:17 AM
#1
Thread Starter
Member
[RESOLVED] SavePicture gives 'Invalid use of property'
Hi,
I have a problem saving what is in a PictureBox (PictureBox1) and get the error 'Invalid use of property'
I have Googled it and looked at the code examples. I have looked in the 'VB6 Help'. Everything suggests that my code is OK - but whatever I try I get the same error message!
I am obviously missing something! Can anyone help. My code is below.
Thanks in advance
King Arthur
Private Sub SaveButton_Click()
Dim file_name1 As String
file_name1 = "C:\NF_Data\Graphics\Horiz\PJ1.bmp"
Picture1.AutoRedraw = True
SavePicture Picture1.Image, file_name1
End Sub
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
|