import
Howie
howiewz at beonthenet.com
Mon Jun 27 09:50:20 PDT 2005
Don't forget to issue a "close importfilename"
----- Original Message -----
From: "GCC" <gccconsulting at comcast.net>
To: <filepro-list at lists.celestial.com>
Sent: Monday, June 27, 2005 12:08 PM
Subject: import
| Windows native 5.0.14
| Win XP sp 1
|
| I have a routine I am working on that:
|
| 1. Changes the directory using chdir
| 2. uses a system command to run a batch file which runs a program that
creates a
| list of 5 random "passwords" to a file called pass.txt
| 3. Use import to read in the pass file to a 5 element array and display
the
| results in a listbox for selecting one of the listed passwords.
|
| So far, so good. All works as expected.
|
| My problem, when I move to a new record and run the routine again, the
same
| group of passwords is displayed. If I exit IUA and the come back into a
record
| and run the routine, a new list is presented.
|
| It appears that pass.txt is locked. How would I release this file?
|
| I did try aa=remove("pass.txt") and tested aa. According to the help
file, 0
| means the file was removed and a negative number indicates the remove
failed.
| Does anyone know what a positive 1 indicates?
|
| Richard Kreiss
| GCC Consulting
|
|
| _______________________________________________
| Filepro-list mailing list
| Filepro-list at lists.celestial.com
| http://mailman.celestial.com/mailman/listinfo/filepro-list
|
More information about the Filepro-list
mailing list