LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Set Destination for all contained items

I have built a application several times and I did not believe i had a issue.  However after making a recent change it started asking me for ctl files that i used in my application after install and running the application the first time.

 

In my project I have the main VI's in a virtual folder "Main VIs"

Controls(ctl files) are in a virtual folder "Controls"

 

When creating the application(exe) under "Source Files settings" the only way it seems that I could get the controls to work was to select the "Controls" folder and check the "Set Destination for all contained items" setting the location to "Support Directory".  This seems to work but exposes the ctl files to teh outside world.  My preference would be for the destination to be the exe file.  My assumption is that they would not be exposed then.  I have also tried to added the ctl files to the always included section of the Source Files page with the same effect.

 

Any thoughts suggestions.

0 Kudos
Message 1 of 3
(2,456 Views)

Hi,

 

I never had that problem with custom controls in my executables. Maybe it's the way you use them.

Could you post example code that has that behaviour when building an executable?

 

Regards Florian

0 Kudos
Message 2 of 3
(2,428 Views)

I will post some could shortly if it does not correct when using another computer.  It may be because I am using a 64-bit Machine with XP(not support by labview).  I was using a machine with Windows 7,64-bit.  Might be a strange glitch.

0 Kudos
Message 3 of 3
(2,421 Views)