I built an application in VB6 that uses the RDC to export a varied group of reports as PDF files at a set time each day. The problem is that as each report runs two or three temporary files are created in the system's default Temp folder and they are never cleaned up.
Because of other processes running on the box (SQL Server, for one) I'm afraid to simply kill all the .tmp files in the Temp folder.
Is there there some way I can track the .tmp files created and used by my app and just delete those at the end of a run?
Because of other processes running on the box (SQL Server, for one) I'm afraid to simply kill all the .tmp files in the Temp folder.
Is there there some way I can track the .tmp files created and used by my app and just delete those at the end of a run?