Hi.
I have an VB application that updates Visual FoxPro table located on the network drive using ADO connection to this free table. (see below coding that used in the program)
I have so many issues with the application and one time it managed to create 1.2million temp files on this network drive and I had to stop all users at least 4hrs of production for me to clear these temp files. (All these files are 0 bytes)
Have any one came across such problem with ADO? Also I found that some users cannot write temp files to their c:\temp files - My program report these with an error Cannot open c:\temp\c500jfj.tmp
Is there any way to stop creating these temp files? I cannot understand why it need 1.2 million of them? Is there a way to pause the directory of these files to a user specified directory (i.e c:\temp or c:\tmp or c:\winnt\temp)?
I have tried to rectify above problems many time without any success up to now. Now I'm thinking of re-writing the application using DAO. But I gather that I cannot update/create dyanset recordsets from Visual Foxpro 6 tables? (Does anyone know how to overcome this?)
Any help would be greatly appreciate.
I have an VB application that updates Visual FoxPro table located on the network drive using ADO connection to this free table. (see below coding that used in the program)
I have so many issues with the application and one time it managed to create 1.2million temp files on this network drive and I had to stop all users at least 4hrs of production for me to clear these temp files. (All these files are 0 bytes)
Have any one came across such problem with ADO? Also I found that some users cannot write temp files to their c:\temp files - My program report these with an error Cannot open c:\temp\c500jfj.tmp
Is there any way to stop creating these temp files? I cannot understand why it need 1.2 million of them? Is there a way to pause the directory of these files to a user specified directory (i.e c:\temp or c:\tmp or c:\winnt\temp)?
I have tried to rectify above problems many time without any success up to now. Now I'm thinking of re-writing the application using DAO. But I gather that I cannot update/create dyanset recordsets from Visual Foxpro 6 tables? (Does anyone know how to overcome this?)
Any help would be greatly appreciate.