-
When my main form is open and i open a directory list form(i choose which file i want to open), after i select the file i want to open the form stays open until it is done reading in the whole file. I am sure there is a simple way to fix this but i do not know how. a msgbox helps ,but would like to get away from that.
chuck
-
Do you mean that you use a new form for the directory list or that you use a dialog box. Let me know !!!
-
If I'm correct, you have your main form, you open up a dialog to select a file. After selecting a file, that dialog stays up until the file is loaded. What are you loading the file into? Is it a pic, a text file? Where are you doing the code to load it? To get around it, have the Dialog form that you use to select a file send back that file name to what ever routine had opened it. Store that filename, close the form and then do your opening routine.
-
I am new at this so i will try to explain this better. I open a second form to load the file and use the dirlist box and filelist box and drivelist box. Should i have used a dialog box instead. if so which one. thanks for any help
chuck
-
One more thing, what i wanted to do was open a text file and read it into a database. it is a text file and takes up to 2 or 3 minutes to load.
thanks
chuck