Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jun Tangunan
  Where is Jun Tangunan?
 Cabanatuan
 Philippines
 Jun Tangunan
 To: Mike Yearwood
  Where is Mike Yearwood?
 Toronto
 Canada
 Mike Yearwood
 Tags
Subject: RE: Temporary Cursor Locations
Thread ID: 311148 Message ID: 311261 # Views: 29 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Projects and Design
Date: Thursday, June 30, 2011 1:14:29 AM         
   


> >
> >
> > It is not only our app that saves .tmp files on that temporary folder. Other apps as well including the OS. All use the same temporary folder for their temporary files needed to operate properly unless you specified another temporary folder for your VFP app like what Borislav says then you can be sure that the .tmp files there really comes from your app alone.
> >
> > And also if you are using my ssToExcel class, then you should also watch out for .xls and .xlsx files inside your temporary folder because I use that to create a temporary worksheet.
> >
> >
> > http://sandstorm36.blogspot.com/
> > http://weblogs.foxite.com/sandstorm36/default.aspx
> > http://www.coderisland.com/forum/viewforum.php?f=10
>
> I guess .tmp files would be in use by running apps. If they can be deleted, they are not in use. I do usually put vfp temp files in a separate folder.
>
> Mike Yearwood
> Microsoft MVP Visual FoxPro 2008, 2009
> We have enough youth. We need a fountain of smart!
> There may be many ways to skin a cat, but there are very few right ways to do it.


Yes they are. I just tried tracing some earlier to see which creates a tmp file. I deleted everything there then opened excel, it does not create any tmp file so I opened Photoshop next. It creates a temporary file but without any extension, just named it tmpxxxxxx or something. Then I traced one (via Unlocker) that explorer cannot delete and it points to Chikka Text Messenger (a free software in the net where we can send SMS to our mobiles back in the Philippines for free) which is currently open.

I believe that when RAM runs low, it also creates tmp files as swap files.

However, not only running apps creates tmp files. When you install something, some creates tmp files as well. Some automatically deletes those after installation is finished, some apps forgot to.

But there certainly is a good point in deleting tmp folder contents once in a while. I just encountered something weird last week on one unit for Purchasing where my BizCore ERP is installed. Only on that machine a module suddenly generates an error. To make the story short, I tried logging on as a different user and it does not have a problem so it is tied up with a local OS user account, and with local user account, I presume its own tmp files. To test my theory, I came back on that user account, tried running my app again, got the same error; went inside local user's tmp folder and deleted everything there, ran my app back and problem is fixed.



http://sandstorm36.blogspot.com/
http://weblogs.foxite.com/sandstorm36/default.aspx
http://www.coderisland.com/forum/viewforum.php?f=10

ENTIRE THREAD

Temporary Cursor Locations Posted by Sajan Jacob @ 6/29/2011 8:41:05 AM
RE: Temporary Cursor Locations Posted by Jun Tangunan @ 6/29/2011 8:50:56 AM
RE: Temporary Cursor Locations Posted by Sajan Jacob @ 6/29/2011 9:01:32 AM
RE: Temporary Cursor Locations Posted by Borislav Borissov @ 6/29/2011 9:03:50 AM
RE: Temporary Cursor Locations Posted by Sajan Jacob @ 6/29/2011 9:09:35 AM
RE: Temporary Cursor Locations Posted by Mike Yearwood @ 6/29/2011 5:11:37 PM
RE: Temporary Cursor Locations Posted by Sajan Jacob @ 6/30/2011 11:49:01 AM
RE: Temporary Cursor Locations Posted by Jun Tangunan @ 6/30/2011 12:20:29 AM
RE: Temporary Cursor Locations Posted by Mike Yearwood @ 6/30/2011 12:51:19 AM
RE: Temporary Cursor Locations Posted by Jun Tangunan @ 6/30/2011 1:14:29 AM
RE: Temporary Cursor Locations Posted by Jun Tangunan @ 6/29/2011 9:07:09 AM
RE: Temporary Cursor Locations Posted by Borislav Borissov @ 6/29/2011 8:51:42 AM