By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,780 Members | 1,126 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,780 IT Pros & Developers. It's quick & easy.

how to close all the opend files in vb6

P: 1
in the run time i want to close all the opend files if there is. i couldnt find which file is not closed. when i run the application frirst time it should delete a folder which folder contains some files and subfolders. when i execute first time it doesnt give problem. but in the runtime when i execute second time. it doesnt delete the above folder. so that my application doesnot execute. so any on e please give me some solution for this.
Nov 1 '06 #1
Share this Question
Share on Google+
1 Reply


Expert 5K+
P: 8,434
in the run time i want to close all the opend files if there is. i couldnt find which file is not closed. when i run the application frirst time it should delete a folder which folder contains some files and subfolders. when i execute first time it doesnt give problem. but in the runtime when i execute second time. it doesnt delete the above folder. so that my application doesnot execute. so any on e please give me some solution for this.
If you issue the Close command without a file number, it closes all files opened by this application. Don't know whether this is what you're after. And it will cause an error if you subsequently try to access any of these files without first opening them again.
Nov 1 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.