11-06-2008 01:15 PM
I'm wondering if anybody else had run into this: It seems that the labview File Dialog will not allow me to select a file that is set read-only. It produces a warning: "This file is set to read-only. Try again with a different file name." I am not trying to open the file, only get a file path. File access should not matter. Further, the problem seems to be unique to Windows Vista; I have no issues on my old XP machine. I am using LabVIEW 8.5 & 8.6 and can reproduce in either. Can somebody confirm this? Thanks.
11-06-2008 04:06 PM
Hi Codeman,
Thanks for the post!
I will try to confirm this tomorrow when my shift starts in the UK Office.
Could you provide a few more details to make this as easy as possible?
Kind Regards,
11-06-2008 04:18 PM
Hi Codeman,
I just tried this in 8.6, and here's what I discovered: If you set the selection mode to existing, you won't get the read-only warning. If you select "new" or "new or existing", you'll get the read-only warning every time. Thus, if it's okay in your application to select existing files, this should solve your problem. Otherwise, I can confirm that it's not just you.
It's rather annoying to have that dialog pop up... there should be a way to disable it so that your application can handle the problem instead. (i.e. by turning off the read-only flag on the file)
I hope this is of some use...
Regards,
Jim