954,557 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

KILLING TEMP FILES generated by reports in VB

When you are generating report
in your application then everytime
you run it then it will automatically
create temp files.

To avoid these junk files you
have to kill the TEMP files.

Code Syntax: KILL "Directory\Temp filename"

Sample (delete all temp files):
KILL "D:\OMI FILES\Project\*.TMP"

Sample (specific temp file):
KILL "D:\OMI FILES\Project\Report.TMP"

Capritarius21
Newbie Poster
20 posts since Jan 2010
Reputation Points: 15
Solved Threads: 4
 

Is it the code snippet?
Then put it in Snippets using code tags..

Pgmer
Master Poster
714 posts since Apr 2008
Reputation Points: 54
Solved Threads: 121
 

I tried to use code tags
but an error appeared saying,

YOU CANNOT CREATE YOUR OWN TAG
USE AVAILABLE TAGS (paraphrased)

Capritarius21
Newbie Poster
20 posts since Jan 2010
Reputation Points: 15
Solved Threads: 4
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: