I'm making a screen capturing program, and I am trying to save the image. I can do it as a 'save as' like this
save as Code:
savefiledialog1.Title = "Save File" savefiledialog1.FileName = "Capture" savefiledialog1.Filter = "JPEG (*.jpg;*.jpeg;*.jpe;*.jfif)|*.jpg;*.jpeg;*.jpe;*.jfif|PNG (*.png)|*.png" If savefiledialog1.ShowDialog() = DialogResult.OK Then PictureBox1.Image.Save(savefiledialog1.FileName, System.Drawing.Imaging.ImageFormat.Bmp) End If
How could I do a quick save option so that it auto saves to a certain location that the user doesn't have to choose and as a .jpg?
Sorry if it's really simple, I've only recently started learning it at college




Reply With Quote
