1) I am plotting a graph onto a picture box using the SetPixel API. I am trying to save the picture box using the savepicture command, however when I save all I get is a blank picture box (no plots)

Any ideas? Heres the code

Private Sub cmdSave_Click()

SavePicture Picture1.Image, InputBox("Save Graph as..", "Save As..", "C:\Cropped.bmp")

End Sub

(I`ve tried .picture but this does`nt work either)

2) I also have a problem with AutoRedraw, when enabled (for the picturebox) setpixel does`nt seem to work (the picture box remains blank) if I turn AutoRedraw off setpixel works fine.


Cheers for any help