02-02-2013 07:14 AM
I am sorry, I don't get your point. Please specify more clearly.
Thank you
Sabih
02-06-2013 12:13 PM
One common way to locate a file is to use the function that returns the current VI's path. This technique works well if you are trying to create a relative path to a LV file because the relative path will remain the same even inside an executable. The problem is that non-LV files can not go inside an executable. The solution then is to use the Application Directory function to establish your relative path. In the development environment the function returns the path to the directory where the project file is, in an executable it returns the path of where the executable is.
If you create a subdirectory called "scripts" in the project directory and a matching directory in the installed directory your application will be able to easily find the scripts no matter which environment you are running in.
Mike...