LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Path questions

In the forum, people would do a "horizontal line and jyang72211 wrote:" to enclose my post before replying.  Is there an efficient way of doing this?

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 11 of 15
(792 Views)

@jyang72211 wrote:

In the forum, people would do a "horizontal line and jyang72211 wrote:" to enclose my post before replying.  Is there an efficient way of doing this?


Like the quote button?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 12 of 15
(782 Views)

@crossrulz wrote:
Like the quote button?

Unbelievable.  Now, it stares at me in the face everyday, but I fail to see it 🙂  Thanks for pointing it out.

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 13 of 15
(778 Views)

@yenknip wrote:

- Almost anything that involves writing to file is resolved through the Get System Directory VI

- Additional resources like plug-ins are saved to the Application Data Directory, again read with the Get System Directory VI



What did you mean by comment above? An example?
------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 14 of 15
(774 Views)

With reference to...


@yenknip wrote:

Microsoft have been trying to encourage developers to separate program files, user files, and program data files since Windows XP. In Vista they began to mildly enforce it; depending on whether the program is being run by an administrator or as a standard user, the program may not be allowed to write to the Program Files directory.


If a program is running from say (C:\Program Files\My App\App.exe) then the directory it is in (C:\Program Files\My App\App.exe) is a protected location. In XP this protection was not enforced by the operating system. A lot of software companies put config files and extra downloadable resources in that directory to keep them together.

 

In Vista and Win 7, the program directory protection is enforced. A standard user cannot write to these directories, this is why we sometimes have to run a program with administrator rights. The Get System Directory vi will return the correct path for public access directories that should be used for config files etc. (example for XP)

_____________________________
- Cheers, Ed
Message 15 of 15
(763 Views)