473,396 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

how to close all the opend files in vb6

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
1 8539
Killer42
8,435 Expert 8TB
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

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

Similar topics

1
by: Alpha | last post by:
I have a Window based application that shows up still running in the task manager when I close it. It reaches the "this.close" statement and then it stops at the "}" at the section of the...
7
by: mg | last post by:
Once opening WebForm2 from WebForm1 using Response.Write("<script language='javascript'>window.open ('WebForm2.aspx','two','menubar=no');</script>"); how can I close WebForm1?
1
by: Veksi | last post by:
Hello, I am trying to create my own macro to working application dialog box. I find dialogbox of application on these code: Sub DMEU() 'How to find FindControl ID for FindControl 'and Execute...
1
by: Lars B | last post by:
Hey everyone, I've been working on a C++ program that uses several threads to read data from a large file into several buffers at speed and pass them to different classes at different rates. I'm...
2
by: Nicholas | last post by:
Hello, I'm new in Javascript and it seems I'm a bit stuck so if someone can help. The problem is 4th button / function. I dont know how to talk to the opend window, the thing with focus i wrote...
44
by: bg_ie | last post by:
Hi, I'm in the process of writing some code and noticed a strange problem while doing so. I'm working with PythonWin 210 built for Python 2.5. I noticed the problem for the last py file...
1
by: Tempalli | last post by:
CAN DATABASE OPEND FROM THE ACTIVE FOLDER PATH WITHOUT DEFINING SUCH LONG PATH. KINDLY HELP ME. ANANTH ;------------------------------------------------------------------------------- Dim...
0
by: Mark Gold | last post by:
Hi! We have a VB application using Crystal Reports 6 that has worked successfully on hundreds of systems for over 10 years. Now, on one network, the application and access database does not close....
10
by: Miro | last post by:
I have created myself an issue, and perhaps my idea wasn't as bright as I thought it was originally. If someone can help me figure out what the correct train of thought should be - or if there is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.