G
Guest
Hello all,
I am using an openFileDialog box to select a file (in order to insert it in
a database). When the file is selected i am filling a few textboxes with the
actual path, filename and extension of the file, so i no longer need the
openfiledialog, thus i am using openfiledialog1.reset() method to reset it.
(i have also tried openfiledialog.dispose() with no results)
The problem i am encountering is that the folder in which the selected file
resides is somehow locked by the application and i can not rename/copy/etc if
i do not close the application (or reopen the openFileDialog to select
another folder).
Is there a way to release the lock on the folder without closing the app ?
Thx in advance
theodore
I am using an openFileDialog box to select a file (in order to insert it in
a database). When the file is selected i am filling a few textboxes with the
actual path, filename and extension of the file, so i no longer need the
openfiledialog, thus i am using openfiledialog1.reset() method to reset it.
(i have also tried openfiledialog.dispose() with no results)
The problem i am encountering is that the folder in which the selected file
resides is somehow locked by the application and i can not rename/copy/etc if
i do not close the application (or reopen the openFileDialog to select
another folder).
Is there a way to release the lock on the folder without closing the app ?
Thx in advance
theodore