08-11-2009 09:27 AM
I made an application that stores some data in a .dat file. It works fine until I make the VI an executable.
Even if my program didn't find the .dat in first time, it should create, but it isn't !
What I have to do for my VI use the .dat file in executable mode. I need this because I have to run the VI without LABVIEW 8.6 installed.
Thanks !
PS. Sorry for my poor English !!! I'm Brazillian !!!
Solved! Go to Solution.
08-11-2009 09:33 AM - edited 08-11-2009 09:38 AM
Why Does My Executable Not Work When Using the Current VI's Path Constant?
(see also)
08-11-2009 10:47 AM
08-11-2009 11:08 AM
Cory K wrote:
Did you include all necessary dependencies?
That cannot be the problem if he tries to create a file and it fails. Most likely he has relative paths and thus needs to strip twice to get to a real folder. You cannot create a new file "inside" the exe. For further information, real my link above.