How to Prevent User from Accidentally Exiting LabVIEW VI or EXE

Updated May 3, 2018

Reported In

Software

  • LabVIEW

Operating System

  • Windows

Issue Details

I need to create an EXE that prevents the user from exiting the program prematurely because it will affect the functionality of the EXE when it is re-launched.
Is there a way to prevent the user from selecting the windows close button?

Solution

You can prevent the user from selecting the window close button by the following:
  1. Navigate to VI Properties >> Window Appearance >> Customize 
  2. Deselect Allow user to close window

Alternatively, you can deselect this option when you customize your build specifications for your EXE. This will allow you to keep the option during development time.

WAS THIS ARTICLE HELPFUL?

Not Helpful