LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Best practice to store hardware ids

Solved!
Go to solution

> Thanks, it seems that ProgramData should be fine

 

ProgramData would not be correct for Win XP (I think it is AppData in XP).

I'm assuming you would like to do this the same way that other Windows applications operate.

 

Use the "Get System Directory" function as Kyle suggested, but select "Public Application Data" instead.

To play nice with other applications, add a folder for your company, then a folder for the particular application.

 

steve

----------------------------------------------------------------------------------------------------------------
Founding (and only) member of AUITA - the Anti UI Thread Association.
----------------------------------------------------------------------------------------------------------------
Message 11 of 12
(1,047 Views)

I normally put my ini file in the same directory as my project/executable.  Then I use Application Directory to get the directory my config file should be in.


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 12
(1,023 Views)