Hi,

I'm trying to save a picture using the image edit control that comes with VB6. I am using the SaveAs method to save the .jpg file under another name but I keep getting a 321 error Invalid File Format.

Here's my Code:
ImgEdit1.SaveAs "C:\My Documents\" & Text1.Text & ".jpg", wiFileTypeJPG

Any help is appreciated

THanks
ML