Click here to Skip to main content
15,900,530 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends

Ihave developed a application in asp using imagemap control. the image in tif format, so I write programe for convert it into JPG format and dispaly the 17 images of tif file. now i have tha converted images on my c drive(where i located tif image file). now how xcan I delete the converted JPG images.
Posted

As I understood You can use System.IO namespace and delete file by givin path to file.
 
Share this answer
 
You need to import System.IO and then in your code you just use file.delete(fileName).

Hope this helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900