Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting a picture file

Status
Not open for further replies.

lmb3

Programmer
Jul 10, 2001
16
US
I have set the picture property of an Image object to a jpeg file. I now would like to delete that jpeg file completely from my computer. Is this possible? If I don't set the jpeg file to be the picture of an image object, can I delete it? I found the File.Delete method, but I cannot figure out how to apply it to a jpeg or picture file instead of a text file.
Thanks so much!
 
Okay, I figured out how to delete a file by using the kill command, but how would you copy a jpeg file?
Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top