10-28-2008 11:47 AM
hi all,
I've developed an application which insert a vi (vit extension) a front panel.
I've build an executable.
But, when I execute the application, the inserted vi doesn't appear in front panel.
What is the cause ?
Many thanks in advance for your help
10-28-2008 11:51 AM
Probably forgot to add your*.vit file to the build specification (this file called dynamically by reference, isn't?).
Another possible problem that relative path to the *.vit file slightly different in Development and Run-Time modes.
Andrey.
10-28-2008 11:54 AM
I agree with Andrey..
The reason the path changes in the executable is that if you use a relative path, the path now includes the executable itself, so whatever relative path you were using in the development is no longer the exact same.
R
10-28-2008 02:04 PM
Many thanks for your help
I'm not an expert so I didn't know that I have to include vit file in my executable building.
In my main labview, I include vit file with an absolute path.
So must I have this vit on the PC which executes the exe ?
10-29-2008 05:15 AM
Of course, you must have vit on the target PC.
In attachment - simple project which illustrated how to get this done
Andrey.