hi all vb experts..i want to ask about one thing.i dont know why..everytime i run my vb program, it will creates a lots of temporary files.let me know how to overcome this problem.thanks
Printable View
hi all vb experts..i want to ask about one thing.i dont know why..everytime i run my vb program, it will creates a lots of temporary files.let me know how to overcome this problem.thanks
Welcome to the forums! :wave:
You mean in your project directory or in common? If so, where?
Thanks.I put my project in C:\Project1.The files will created in Project1 directory and also in C.ThanksQuote:
Originally Posted by gavio
hey amigo..im no expert..but why is it a problem?? anyway i suppose its the files it needs to run...just a wild guess
Thanks.It is a temporary files.If my system is large then there is more than 100 temporary will created.eg:VB36A62.tmp,VB69A1.tmpQuote:
Originally Posted by Mystikal
Wierd... what version of VB are you using?
Are you using DataReports? That piece o' crap creates tmp files whenever you work on/run your reports.
Can I clarify something?
VB always creates files of the sort VB*.TMP - it creates them usually in the system TEMP folder (often in C:\WINDOWS\TEMP or similar).
If you stop your program before it completes, or if the VB IDE crashes, these files don't get deleted.
During development, you might well accumulate a whole lot of these. If any have not-todays date, just delete them. If they are marked as ReadOnly, they are still "in use" so you can't delete them until you reboot.
There is no way that you can tell VB to do this for you, at least that I know of...
Once the IDE crashes VB cannot cleanup after itself and leaves the tmp files. Before you start the IDE just delete them.
Thanks a lot everybody :)