11-07-2009 08:14 PM - edited 11-07-2009 08:15 PM
Hello NI Developers!
Is there a way for compiled VI to remember data for next open?
I mean: I have File-open dialog when I press button, I want that it start at default directory which was last time opened. Is there a way to do that program will remember last opened directory and next time open it for a default path ? I wanted to do this without saving any extra files with this info.
Thanks in advance.
11-07-2009 09:47 PM - last edited on 05-20-2024 07:54 PM by Content Cleaner
Well, you have to save that information someplace. If you don't want to create extra files then you can save it in the application's configuration (.ini) file. Or, if you're in Windows you can save it to the registry. At startup you can just set the start path for the file control via a property node.
11-08-2009 03:12 AM
Thanks for answering,
Is it theoretically possible to store data in application without writing to external file or registry? Just curious.
11-08-2009 06:38 AM