06-12-2014 09:25 AM
Hello,
i created a new GUI which reads at startup a config.ini file.
In the vi i specified the path to this ini-file to be in the same path as thecalling-vi.
Will this also work if i create an executable? So that the ini-file is searched in the same path as the executable?
Thanks
Solved! Go to Solution.
06-12-2014 09:36 AM
You should use the "ApplicationDirectory" function to specify the path to the config-file.
This will work in the EXE as during development as long as you regard the rules for this function. Please refer to the LV help to get a detailed information on this.
Norbert
06-12-2014 09:48 AM
This is working. Thx.
Another question:
How and where can i specify the size of the exe-windows?
The starting-vi is set as window-mode = Dialog, i thought now the exe-file comes up in the same size as the vi was saved the last time?
06-12-2014 10:02 AM
Solved: I had to set the "Window Size" in the vi-options.