I have a VI that runs when opened even when the "run when opened" is unchecked in the VI properties prior to building an executable. It does this on versions 8.2.1 and 8.5. How do I get the attached VI to NOT run when it is opened? I searched the forum and it was suggested that it was a bug in version 8.2 but it is happening in 8.5 as well. Any help would be appreciated.
Have you checked 'Source File Settings' for your Startup VI in the
Build Specification Properties for your application to make sure 'Run
when opened' is not selected? By default this setting is not locked to
the 'Use VI Property' as the expected behavior of an executable is to
'run when opened'.
I just unchecked the run when opened in source file parameters prior to building and I was able to get a .exe that didn't run when opened on version 8.5. Thanks for your quick help!!! Much appreciated. I'll try 8.2.1 tomorrow.
This will not work in 8.2 since there's a bug in the builder for this option, but you can enable the remote debugger, and select 'Wait on debugger' this will have the same effect (though the VI is bigger)