From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-01-2011 10:13 PM
I would like to create exe file running on my machines with LabView and other toolkits installed. The problem is after I built the application, it runs perfectly except function related to database (insert data, view data) although I included the database in the install direction where the exe file located as well as in the data location. What is possible problem and how can I fix it?
Solved! Go to Solution.
05-03-2011 10:35 AM
Are you getting a specific error when you try to run your executable or can it just not find the necessary files to run this?
Also, what version of LabVIEW are you using?
05-03-2011 11:05 AM
First of all. I have no experience with Database Toolkit.
Nevertheless, I had a similar experience while using a different LabView Toolkit. The idea was that in the Build Options I had to add some Toolkit VIs. In Build Options -> Source Files there are on the right two lists where VIs can be added:
1. VIs that are ran when the application starts, and
2. VIs that are always included.
In the second list (VIs always included) I had to add some VIs from the Toolkit.
Give it a try....
05-03-2011 11:56 AM
Is the executable running on the same PC as used for development?
05-04-2011 12:52 PM
Thank you very much for all responses.
I got it worked using a small trick instead of relative direction in install direction '\database\data.mdb, I use absoluate direction C:\MySoftware\DatabaseFile\data.mdb.
05-04-2011 01:40 PM
You have to be careful if you create an executable or installer to have the files located in the same directory structure.