# 1 I have a simple LabVIEW application which needs a (DLL which in turn needs a) database. DLL and database do not (and cannot ) have absolute path.
# 2 LabVIEW puts limitation on me that I MUST have my database in the directory where LabVIEW.exe is located.
# 3 Next , I create a ‘standalone application’ from my program to run on a machine without LabVIEW. To run it successfully, again it’s made compulsory to me that
‘database’ must be located in the directory …
“..\\Shared\LabVIEW Run-time\6.0\”
Otherwise the database is not found.
So, to run the program on other machine withour labVIEW, I need to manually instruct him to put the database at above location. This is undesired.
#4 Other (dangerous) option is ….
At the time of standalone program installation , remove the LabVIEW run-time engine originally present on the customer machine, and to reinstall it to the directory where the database is present.
Sometimes it gives an error – “Internal Error 2355”.
Please note – absolute paths cannot be provided, since they may be given dynamically on site.
Sandeep