LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with the RO access of ini file under Win 7 within Program Files branch

Hi,


I'm using Win7 and LV 8.6.1. Under the Program Files directory I have one folder where my exe is. That exe has to read the ini file first and later on do some work. It works fine unel local admin credentials. But since I switch to the ordinary user the exe doesn't work.

 

Question: When I'm obtainig the reference for the ini file usung the ordinary Open Config Data.vi do I obtain reference for RW or RO access? If it is RW then I have the explanation of the problem. If it is RO I have to search further.

 

K.

 

0 Kudos
Message 1 of 3
(2,450 Views)

The Program Files Directory is not writeable by normal users. If you are an Admin and you have UAC turned on, you would need to confirm the Admin Operation.

 

Save the .ini-Files in the right folders. (User-owned one, like Roaming in the App-Data Folder of your User Account).

0 Kudos
Message 2 of 3
(2,449 Views)

Does it mean that the reference obtained by Open Config Data.vi is RW?

0 Kudos
Message 3 of 3
(2,446 Views)