Is it possible to put a password that would prevent the program turn accidentally closed?

We have a person in our laboratory which is spirit very scatter. Several times he wanted to reduce Labview program running, but doesn't actually not paid attention and accidentally closed it by clicking X instead of _, thus negating the whole experience. When the program was closed he didn't ask if he wanted to save or if he didn't know that he wanted to close it. Is it possible to put a password that would prevent the program turn accidentally closed?

You have two options.

  1. You can hide the X in total in the properties of VI.  Go to the appearance of the window, click Customize, and then uncheck the option to allow the user to close the window.  You would need another method, for example a file-> Quit or exit option button.
  2. If you use a version higher than the Base, you can use a structure of the event to capture the narrow window? event.  This will allow you to ask the user to confirm to get out and do something else required.  If the user cancels, or you need to cancel, you have the abaility to cancel the event.

Tags: NI Software

Similar Questions

  • Is it possible to write a script that would change the triangles to circles?

    I have an Excel file that outlines a scatterplot graph - using a logarithmic scale. Because it is not possible to create a logarithmic graph in Illustrator, I imported the graph in Excel to PDF. However, each data point is a triangle, and I would use circles that I created using OBJECT > GRAPH > DESIGN. Is there an easy way to replace the triangles with these circles?

    If you need to see the current file, let me know how to fix it.

    Thank you.

    I don't have Excel here...

    The place could be a clipping mask. Maybe you can only select all clipping masks and remove them (using select > object > clipping mask)

    But it can also be that this clipping mask is crucial for a reason any. Importing PDF you will often get a lot of clipping masks

  • I disconnected from the home group, but when I try to join the homegroup I can't because I put a password and I forgot the password. What should I do?

    Hello. I disconnected from the home group, but when I try to join the homegroup I can't because I put a password and I forgot the password. What should I do? TQ

    Hello. I disconnected from the home group, but when I try to join the homegroup I can't because I put a password and I forgot the password. What should I do? TQ

    Where can I find my homegroup password?

  • Is it possible to put a video during running on the app or an image?

    Is it possible to put a video during running on the app or an image?

    You can't put a video instead of the boot image.

  • I downloaded a free trial of lightroom 5, so when I got the serial number for the copy I bought I tried to put it so that I have the full version of lightroom 5, but have been unable to find a way to do it. can you enlighten us

    I downloaded a free trial of lightroom 5, so when I got the serial number for the copy I bought I tried to put it so that I have the full version of lightroom 5, but have been unable to find a way to do it. can you shed some light on this?

    Maybe you downloaded the creative Cloud version instead of sthe stand-alone version. Here is the good download: updates

  • is it possible to write a script that will display the script files folder in the tree

    is it possible to write a script that will display the script files folder in the tree

    Yes :-)

    In your previous post, someone suggested to search for the file "SnpCreateTreeview.jsx", because it would just be the asked.

    The script can be found here, just accept the EULA and download the example scripts of Bridge CS3. (For some reason it is not in CS4 samples because as far as I know)

    Here's a version with small changes, it is up to you to point the script in the folder 'root' right, because this is, needless to C: on PC:

    ////////////////////////////////////////////////////////////////////////////
    ADOBE SYSTEMS INCORPORATED
    Copyright 2007 Adobe Systems Incorporated
    All rights reserved
    //
    NOTE: Adobe permits you to use, modify, and distribute this file according to the
    the terms of the Adobe license agreement accompanying it.  If you received this file from one
    source other than Adobe, then your use, modification or distribution of it is required in advance
    written permission from Adobe.
    /////////////////////////////////////////////////////////////////////////////

    /**
    @fileoverview shows how to use an item in the tree list and how to capture events with
    functions of recall or script registered event listeners.
    @class shows how to use an item in the tree list and how to capture events with
    functions of recall or script registered event listeners.

    Its use


      
      
      

        
    1. Run the extract in the ExtendScript Toolkit (see Readme.txt).
         
    2. Enlarge / reduce the list items
         
    3. Check the JavaScript Console to see the events captured by the elements of the TreeView.
       

    Description


     
     

    Creates two hierarchical list of TreeView items. One is static, with a fixed set of point
    nodes that you can expand and collapse. The other is dynamic; Item nodes are added and removed as
    the need for a view of the file system.
     
     

    The list items in the TreeView control to display the folders and files custom images.  When you add items to the
    TreeView list, type 'article' is used for elements of the leaf and 'node' to the elements of the container.
     
     

    Dynamic TreeView captures events in two different ways. It uses callback functions to capture the
    node to expand and collapse events and selection changes and also registers an event listener to
    capture double-click events.

    @constructor constructor
    */
    #targetengine "session".
    function SnpCreateTreeView()
    {
    /**
    The context in which this code snippet can work.
    @type string
    */
    this.requiredContext = "\tNeed runs in the context of the Bridge\n."

    /**
    The location of this script file system
    @type file
    */
    var scriptsFile = new File($.fileName);
       
    /**
    The location of the file system resource PNG file used to represent folders
    @type file
    */
    this.folderIcon = new file (scriptsFile.path + "/ resources/Folder_16x16.png");

    /**
    The location of the file system resource PNG file used to represent files
    @type file
    */
    this.fileIcon = new file (scriptsFile.path + "/ resources/Story_16x16.png");

    /**
    The root folder that will be used for the dynamic tree
    @type string
    */
    this.rootFolder

    If (File.fs is "Windows")
    {
    this.rootFolder = "C:";
    }
    on the other
    {
    this.rootFolder = ' / ';.
    }
    }

    /**
    Functional part of this code snippet. Creates the ScriptUI window and its components,
    and defines the behavior.
    @return true if the code snippet is executed as scheduled, false otherwise
    Boolean @type
    */
    SnpCreateTreeView.prototype.run = function()
    {

    $.writeln ("about to"run SnpCreateTreeView");
       
    Create the window
    var win = new window ("palette", "SnpCreateTreeView", undefined, {resizable: false});

    Create the Committee for the static TreeView control
    sPanel var = win.add ('Committee', undefined, 'TreeView Élément') static;
    sPanel.alignment = ["fill",""];
    sPanel.alignChildren = ["fill",""]

    Create a TreeView list
    sTv var = sPanel.add ("treeview");
    sTv.preferredSize = (300, 200);
    Add static items to the list, in a hierarchical structure.
    for (var i = 0; i)<>
    {
    sTv.add ("node", "Item" + i);
    for (var j = 0; j)<>
    {
    sTv.items [i] .add ("item", "Sub Item" + j);
    }
    }

    Create the Committee for the dynamic TreeView control
    var dPanel dynamic = win.add ('Committee', undefined, 'TreeView Élément');
    Create a TreeView list
    TV digital var = dPanel.add ("treeview", undefined);
    dTv.preferredSize = (400, 300);
    Create the root node element
    var aNode = dTv.add ("node", "/");
    Pair it with an image of the icon
    aNode.image = this.folderIcon;

    Define a handler for the double clicks
    myOnDoubleClick = Function
    {
    if(e.detail == 2)
    {
    $.writeln ("double click");
    }
    }

    Adds the handler as an event listener to the TreeView element.
    dTv.addEventListener ("click", myOnDoubleClick);

    Keep a reference to this object
    var that = this;

    Define an event handler for when a node is expanded
    dTv.onExpand = function (point)
    {
    $.writeln (item.text + "is now expanded.");
    nextItem var = item;
    var path = "";
    goUp var = true;

    While (goUp)
    {
    path = "/" + nextItem.text + path;
    nextItem = nextItem.parent;
    If (instanceof TreeView nextItem)
    {
    goUp = false;
    }
    }

    Remove all children of this element
    item.removeAll ();

    var Ref = new file (that.rootFolder + path);
    If (Ref instanceof Folder)
    {
    children var = ref.getFiles ();
    for (var i = 0; i)<>
    {
    If (children [i] instanceof file)
    {
    Item.Add ("node", children [i] p:System.NET.mail.MailAddress.DisplayName);
    Item.Items [i] .image = that.folderIcon;
    }
    on the other
    {
    Item.Add ("item", children [i] p:System.NET.mail.MailAddress.DisplayName);
    Item.Items [i] .image = that.fileIcon;
    }
    }
    }
    }

    Define an event handler for when a node is reduced
    dTv.onCollapse = function (point)
    {
    $.writeln (item.text + "is now reduced.");
    }

    Define an event handler for when the selection changes
    dTv.onChange = function()
    {
    $.writeln ("selection changed");
    }

    Display the window
    Win.Show ();
       
    $.writeln ("Ran SnpCreateTreeView");
       
    Returns true;
    }

    /**
    "main program": construct an anonymous instance and run
    as long as we are not unit - test this code snippet.
    */
    If (typeof (SnpCreateTreeView_unitTest) == 'undefined') {}
    new SnpCreateTreeView () .run ();
    }

  • After the installation of Internet Explorer on my computer I can not open organizer of Photoshop Elements 10 (Russian version) on my computer. By the Organizer message appers opening attempt "it is not possible to run DirectX. Check please, if the program

    HelloW!

    Please help my.

    After the installation of Internet Explorer on my computer

    I can't open the Organizer in Photoshop Elements 10 (Russian version) on my computer.

    By the Organizer message appers opening attempt "it is not possible to run DirectX. Check please if the program is installed on your system.

    I checked my computer - computer installed DirectX11.

    Before that time I have hade any problems with the opening of the Organizer

    Greetings from sorts

    duplicate thread: after the installation of Internet Explorer on my computer I can't open organizer of Photoshop Elements 10 (Russian version) on my computer. By the Organizer message appers opening attempt "it is not possible to run DirectX. Check please, if the program is in

  • I have Safari 9.1, El Capitan. The changes I make in the Safari preferences are not saved after that I close the program. There is no such thing as a Library/Preferences/Safari. What should do?

    I have Safari 9.1, El Capitan. The changes I make in the Safari preferences are not saved after that I close the program. There is no such thing as a Library/Preferences/Safari. What should do?

    I think you're looking in the root folder not your home folder.   Tilde ~ in front of the first slash indicates the folder.

    Try this...

    Quit Safari.

    Open a Finder window. In the Finder menu bar, click go > go to folder

    Type or copy paste the following text:

    ~/Library/preferences/com. Apple.Safari.plist

    Click OK, and then move the com.apple.Safari.plist file to the trash.

    Restart Safari to test.

  • The pencil of Apple requires a port light to recharge.  Does anyone know a USB male to female adapter port lighteners that would load the pencil on one device other than the iPad?

    The pencil of Apple requires a port light to recharge.  Does anyone know a USB male to female adapter port lighteners that would load the pencil on one device other than the iPad?

    Apple pencil comes with its own map of woman to woman, so you can use a standard lightning cable USb and charger to charge

    Not sure there is no 3rd party yet.

  • A protocol that would provide the service for IPv4 and IPv6 traffic? (RIPv1, RIPv2, RIPng, BGP)

    A protocol that would provide the service for IPv4 and IPv6 traffic?

    • RIPv1
    • RIPv2
    • RIPng
    • BGP

    Hi SandeepTandel,

    ·         Your computer is on a domain network?

    ·         What exactly is the question do you face?

    Here the following protocols provide for IPv4 and IPv6 traffic or respectively:

    Ø Bng supports IPv4 and IPv6 protocols

    Ø RIPng supports IPv6

    Ø RIPv1 and RIPv2 supports IPv4

    Let us know if this information useful.

  • I use xport 360 and I can't put my save game back on the program profile it shows a circle with a cross please help me

    I use xport 360 and I can't put my save game back on the program profile it shows a circle with a cross please help me

    Hello

    If you try to recover the gamer tag, then I suggest you follow the steps from the link below: http://support.xbox.com/en-us/pages/xbox-live/how-to/xbox-live-account-management/gamer-profile.aspx

    If this does not work then I recommend you to ask your question here: http://forums.xbox.com/xbox_forums/xbox_support/default.aspx

    Hope this information is useful.

  • I had to update my windows computer and you can no longer open Photoshop cs2.  trying to find help with this new system is not easy to use to put it kindly.  I downloaded the program and don't have the available key.  I tried to sign in but where.

    I had to update my windows computer and you can no longer open Photoshop cs2.  trying to find help with this new system is not easy to use to put it kindly.  I downloaded the program and don't have the available key.  I tried to sign in but where.

    For Photoshop CS2 activation has been reprocessed, so your original drive and the serial number does not work.

    As an owner of CS2, Adobe has a copy without activation and serial number, to which you are entitled.

    The serial number is to the right of the download link for Windows. You'll need this one, not your old number.

    Get them here: download Acrobat 7 and CS2 products

  • I just paid almost $10 to create a PDF from a jpg file, but I did it so that I can change it. Now I find that I needed another Adobe package that would create the pdf AND I would change it. What should I do now?

    I just paid almost $10 to create a PDF from a jpg file, but I did it so that I can change it. Now I find that I needed another Adobe package that would create the pdf AND I would change it. What should I do now?

    If you create a PDF file from an image, it is always a picture, and you cannot change it.

    If the image contains text, then you need to perform the text recognition (OCR) before you can actually change the text.  Acrobat can do that.

  • I continue to put my password. says locked and the user swithch. I tried to change the standard account and it won't let me. How to unlock it?

    It is a novelty that has begun.  I have to put my password because it says "locked" under my user name and it says change user.  I can't open my account.  I tried to change it to 'standard', which I don't know how it changed? or did my computer to do this.  If I clicked on "lock computer", how I to unlock?

    Ma-donna

    He stopped to do so, so do not know what happened.

    Thanks anyway

    Madonna

  • How to get rid of a popup offering to remember my password that appears in the upper left corner?

    Yes, this popup is annoys me no end! It appears each time I fill in a password anywhere! It is more or less said: "Do you remember this password?". first of all I didn't know what program did this, but now I know that it is Mozilla Firefox. Why so many of (and undesirable too) want to pop-up windows to 'help' when in fact what they do is irritate the person and not even identify the program. It is a parody of the worst kind! You do not?

    If anyone knows how to get rid of it forever, please let me know? Thank you very much! Adelaa

    If you want to just disable this for a specific domain, you can click the drop-down list and click "never for this site". Otherwise, you can go to the Security section of the firefox preferences (enter ' subject: preferences #security ' in the address bar) and uncheck "remember passwords for sites".

Maybe you are looking for

  • phishing or real?

    hoping someone can offer advice with regard to whether a real e-mail from apple as I've never done this purchase and it made me fear that if this is a real email my account has been hacked. Invoice DATE OF INVOICEJuly 17, 2016 SEQUENCE NO.1 * 46 COMM

  • update to connect to the server never connects I tried to reset. Use 14-10

    Hi, I use Firefox 14-10. I get a notice and a link to update. I click to update. It is said: "Connecting to the update server" forever. I can leave it like that for hours, is not serious. Never connects. I tried to reset my firefox but still do not c

  • Tecra A2 external monitor problems

    Recently, I broke the screen on my A2 and until I can afford to get it fixed, want to use a monitor tft external that I have. I use fn and f5 to enable vga but the resolution is all wrong, and when I try to change the tft screen is disabled and it is

  • HP laptop not completely restart

    Hello I have a laptop HP Pavilion 1b60us g6 product number: LW350UA #ABA and for the last month there has been trouble restart completely.  Whenever a windows update runs and my computer starts the reboot process to complete the update, it goes out,

  • Where should I read location AppData?

    Hello My program should read the path to the AppData to the user who uses the program. There are two ways to readthe path: the %AppData%\protector.exe environment variable in the registry key HKEY_CURRENT_USER Folders\AppData Where is safer to give t