‎12-22-2009 08:26 AM
Dear Friends!
i am writing a program for a application which saves file in a directory created by lab view....
now when i try n delete it using lab view it generates an permission error.
when i try to change the permissions,the help says in windows we cant change permission in windows,,,,,
what to do,,,,??????
plz reply..
thanks in anticipation...lol
‎12-22-2009 08:28 AM
‎12-22-2009 09:20 AM
‎12-22-2009 09:26 AM
If you try to delete a folder and it still has files in it, you need to wire a TRUE to the "entire hierarchy?" input. Did you?
See also the online help.
‎12-22-2009 10:17 PM
You are right : just check out the detailed help :
‎12-22-2009 11:09 PM
‎12-22-2009 11:45 PM
have you checked can you delete the file or the folder manully?
Is the reference to the file is still open?
The person who is using the LV application or the LV application itself is having proper read/write access to the files/folder?
‎12-23-2009 01:36 AM
If you have browsed to the folder using LabVIEW, Windows will apply a lock on that folder (it is unclear Windows does this or LabVIEW) and you cannot delete that folder.
This might be the case
Ton
‎12-23-2009 10:51 AM
smercurio_fc wrote:
My impression was that the user was trying to delete a file in the folder, and not the folder itself, though it's not completely clear from the original post.
Exactly. It all depends what "it" means.
I assumed that since the folder was created in LabVIEW, deleting the folder would be one possible guess for "it" due to the descibed difficulties. Deleting the file would be another possible interpretation of the question. 😉
manish_1986 wrote:i am writing a program for a application which saves file in a directory created by lab view....
now when i try n delete it using lab view it generates an permission error.