10-23-2007 01:26 PM
Solved! Go to Solution.
10-24-2007 03:32 AM - edited 10-24-2007 03:32 AM
Message Edited by KvZ on 10-24-2007 10:33 AM
10-24-2007 05:19 AM
IMO, whatever LV has been doing all these years, allowing to delete the VI when it is open or the folder itself containing that VI, IS absolutely wrong, because no other software/application DOES NOT allow the user to delete the file or its folder which is open already.
Maybe you can try it out with MS Word or Adobe PDF files.
All I can that LV is, now only LV has gotten into the groove alike many other applications in NOT allowing the folder [from which something is open] to be deleted. But still I noticed one point from Ton's post.
It still deletes the VI which is inside the folder, but only the folder does not get deleted.
And after navigating to some other folder, it also gets deleted.
Mind you, all these things happen only when the File Open menu option is used. If you had manually opened the VI from the folder for yourself, then the folder also gets deleted.
11-15-2007 02:28 AM
Hi Ton,
I found that I posted the wrong CAR ID for this bug, It's been reported under CAR ID: 4EN2FI7U
Thanks
Karsten
This was reported to R&D (# 4EN2FI7U) for further investigation.
11-15-2007 08:32 AM
parthabe wrote:
IMO, whatever LV has been doing all these years, allowing to delete the VI when it is open or the folder itself containing that VI, IS absolutely wrong, because no other software/application DOES NOT allow the user to delete the file or its folder which is open already.
11-15-2007 08:39 AM
"No other software does NOT allow to delete a file or folder"
IE6 will sometimes lock a folder after down-loading a file.
Ben
11-15-2007 10:12 PM
rolfk wrote:
parthabe wrote:
IMO, whatever LV has been doing all these years, allowing to delete the VI when it is open or the folder itself containing that VI, IS absolutely wrong, because no other software/application DOES NOT allow the user to delete the file or its folder which is open already.
I'm not sure what you are trying to say. "No other software does NOT allow to delete a file or folder" does sound to me literally that EVERY other software does allow to do that. As far as the file dialog is concerned it is simply a Windows dialog and in there you can delete, create, rename, etc. files and folders as much as you want, both in MS Office, LabVIEW and just about any other application I can remember.As to if files that are opened in LabVIEW should be deleteable from outside LabVIEW, there is a distinction between files that LabVIEW opens itself and those that are opened by LabVIEW because you programmed it so in a diagram. The first are usually locked the second are locked depending on the deny access flag that you pass to the Open File function.Rolf Kalbermatter
Hi Rolf,
The moment I typed, I knew I had mistyped it.
What I meant to say was, if you open a word file by double-clicking it, MS word does not allow you to delete it or the folder that contains it, till the point you close that file. I think I m right.