spicyadmin
Member
- Joined
- Dec 23, 2021
- Messages
- 15
- Programming Experience
- Beginner
I've been trying to find a solution to a problem I am having. I am trying to save a picture to the "My Pictures" folder but I keep getting an error in the code saying "cannot convert from 'string' to 'system.environment.specialfolderoption'"
What I have:
pbx_image.Image.Save(Environment.GetFolderPath(Environment.SpecialFolder.MyPictures, "Capture-" + DateTime.Now.ToString("HH-mm-ss tt") + ".jpg"));