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