clbst47 Posted January 17, 2006 Report Share Posted January 17, 2006 OK, so when I change the location of the "LabVIEW Data" folder using the development environment options, the location changes sure enough - until I run an executable. Then the "LabVIEW Data" folder again gets created in the "My Documents" folder. It's almost as if the run-time engine has a data path of its own... Two questions: 1) Anyone else able to replicate this on their machines or under a different version of LV or the RTE (I'm using LV 8)? 2) Anyone know if there's a separate .ini for the run-time engine (or some other way to keep an executable from creating this folder in My Documents)? As usually happens when I post something, the answer comes to me shortly after clicking the "Post New Topic" button... I just added the "DefaultDataFileLocation=..." tag to the .ini file of the built executable, and that did the trick. Kind of a pain to have to do it for every built app, but... Quote Link to comment
Michael Aivaliotis Posted January 17, 2006 Report Share Posted January 17, 2006 Well, you can always write to this programmaticaly using the ini write functions from within your application. You can access the value of this path using the Default Data Directory constant and property: Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.