PictureBox1.Image.Save – Only .PNG Works Properly

I am able to save images from a picturebox in the .png format properly, but not using .jpg or .gif formats. What I get is a black image only with .jpg and .gif. The picturebox has a white background with text and lines on it which I generate via VB coding.

I am running Win 2K and VB 2005. Any suggestions?



code example:


“c:graphics” & TextBox1.Text & “”.png””