wildfire1982
Regular
Hello folks.
I have made a small function which uses an image type. Im assuming that the exception is that the object is not instatiated but thats me attempting to translate from a german operating system. If my translation is right i understand what the problem is, i just cant see it. Here is the code.
The error occurs on the very last line. Any pointers would be great, cheers
I have made a small function which uses an image type. Im assuming that the exception is that the object is not instatiated but thats me attempting to translate from a german operating system. If my translation is right i understand what the problem is, i just cant see it. Here is the code.
Visual Basic:
Dim cmdlg1 As New SaveFileDialog
Dim filename As String
Dim Images As Image
cmdlg1.ShowDialog()
filename = cmdlg1.FileName
Clipboard.SetDataObject(AxMSChart1)
'AxMSChart1.EditCopy()
Dim piccy As New PictureBox
Images.Save(filename)
The error occurs on the very last line. Any pointers would be great, cheers