Edit the INI of the executable file with & quot; HideRootWindow & quot;

Hello

I am trying to create an executable so that it shows only a single window in the taskbar. On an article knowledge base (http://digital.ni.com/public.nsf/allkb/6E660558F3D420C786256FCB005B4F52) I'd read about the configuration HideRootWindow = True in the INI file. I did it and it worked. However, the problem is that whenever I have reconstitute the exe in LabVIEW, the line disappears, & I have to manually edit the INI file each time. I was wondering if there was anyway I could do this automatically if LabVIEW while it adds this line to the INI file to each build process.

Appreciate any help. Thank you!

Instead of checking the use of the default Configuration of LabVIEW file, uncheck this option and add your own ini file. Also, be sure that you add to the project ini file too! This will help to maintain.

I hope this helps.

Tags: NI Software

Similar Questions

  • Problem with the executable files

    Hello all, I need a help from you...

    I use LV 2009 SP1 Professional Development Suite on Windows Seven and I have a problem with the executable files, a problem that I have ever found with other versions of LV (8.x, for example) and I'm a little surprised...

    In the attachment you will find an example of what I mean.

    There are two base screws, the main one (prova) and a Subvi (provasubvi). The main vi launches the Subvi and the Subvi simply create a chart. As you can see on the screws works fine, without any kind of problem.

    I also created the exe file, without specifying that no particular option... and 'magic' of the application does not work as I want. In particular, it seems that the Subvi is running, but the front panel will not be accessible.

    I also try to play with the Subvi construction structure and options, but nothing change.

    Did you ever solve something like that?... I would say that I thank you in advance for any suggestion...

    Andrea

    Hello andrea,.

    Looking at your project I've heard that you do not include the Subvi during the build of the project. SO I slightly modified. Please find the attachments.

    Thank you and best regards,

    srikrishnaNF

  • All the executable files (.exe files) are open with mozilla firefox by default.

    All the executable files (.exe files) are open with mozilla firefox by default.my system is Compaq Mini 311c-1101SA. I can't run that no matter what file.i executable can not install any program now

    Hello

    When you get this program you want to use to open the file, you can select the appropriate program to open it?  If so, isn't there a box to check that says always use this program...

    Network adapter. Missing drivers?  Go to your device manager and look to see if there is lack of device drivers. They can be labeled as just a controller ethenet or other device with a small exclamation point.

    This means that they need a driver. In order to send you the link to the right driver, I need to know what model of network card you have.

    If you are unsure, click on all the missing devices in Device Manager. Then click on the Details tab. In the property drop-down list, select the second element (Hardware ID). After the first string of characters you see.

    Who will be ID the make and model of the device and I can send you the link for the drivers.

    Sorry, but I don't know anything about video games, so I can't help with that one.

    Paul

  • Cannot start web server on the executable file

    Hello

    We have a problem with a Web server - we cannot get to initialize the help of nodes of property or the ini on a compiled executable file.

    As part of our application, we are starting the Web server to publish a status page to be read remotely. This works very well when we are running in the development environment and also when we run an executable a PC with installed development environment, however it will not boot on a PC with just the runtime installed.

    I have attached some of the code that functionally does exactly the same thing in our main application. I used this as my Tester code and built in an exe while trying a lot of different things to fix.

    When executing:

    • The code will sit in the while loop until I press stop.
    • Web server: Active Server = FALSE
    • Out error = ERROR No.

    In the full application the while loop waits a few seconds before throw an error if the server is not started. In this example, I can let the loop running for awhile without leave. Normally, the boot time is<50ms when="">

    It's the ini file to the executable file:

    [WebTest]
    server.app.propertiesEnabled = True
    Server.OLE.Enabled = True
    server.tcp.serviceName = "My Server computer/VI"
    server.vi.propertiesEnabled = True
    WebServer.Enabled = True
    WebServer.TcpAccess = "' + * '"
    WebServer.ViAccess = "' + * '"
    DebugServerEnabled = False
    DebugServerWaitOnLaunch = False

    And it is the Web server configuration file:

    ErrorLog "$LVSERVER_ROOT/logs/error.log".
    LogLevel 3
    The default server name
    DocumentRoot "$LVSERVER_ROOT /... /.. '. "/ www".
    Listen 8000
    ThreadLimit 10
    TypesConfig "$LVSERVER_ROOT/mime.types»
    DirectoryIndex index.html
    LoadModulePath "$LVSERVER_ROOT/modules '" $LVSERVER_ROOT/LVModules "" $LVSERVER_ROOT /... ".
    LoadModule LVAuth lvauthmodule
    LoadModule LVSnapshot lvsnapshotmodule
    LoadModule LVRFP lvrfpmodule
    LoadModule dir libdirModule
    LoadModule copy libcopyModule

    AddHandler LVAuthHandler
    AddHandler LVSnapshotHandler .snap
    AddHandler LVRFPHandler

    AddHandler dirHandler
    AddHandler copyHandler

    "CustomLog"$LVSERVER_ROOT/logs/access.log"'%%u %t \"%r\ hour' % > s %b.
    KeepAlive on
    KeepAliveTimeout 60
    Timeout 60

    As can side note, anyone tell me where the $LVSERVER_ROOT variable is configured?

    I tried the things:

    • Copy a new default configuration file before the entry into force
    • Writing a predefined file (encoded) before initializing config
    • Definition to root before initializing directory (it actually generates an error because the server is not active...)
    • Set WebServer.Active = TRUE several times inside the while loop
    • Toggle the web server in the ini file

    System:

    • LabVIEW 2010
    • PC with Windows 7 running

    Thanks for any help, because it makes me crazy slow!

    Ben

    Hi Marco, thanks for the reply.

    I have this guide was reviewed previously and had done all that he but a small section who gave me a hint of something to try and I have solved my problem, so thank you!

    If anyone is interested, here's the problem:

    The directive DocumentRoot folder in the config must exist or the Web server cannot be started. So basically, make sure that the file points to a folder that exists!

    This leaves two small annoying problems if - you can't see if the file exists (and then create it) before starting the Web server, because you can not query the path to the folder without the Web server running.

    AND

    You can't really define the configuration programmatically file as parameters from the file are responsible for execution, not on the start Web server.

    The result of this is that the config file and the folder root document should be created (and corresponding of course...) when the executable is built / installed on the system. Not a massive headache, but it means do not forget to put things in the build specification and do not rely on software to do the job at startup

  • Exec System does not work in the executable file

    Once again I have to do something stupid!

    I use the Exec System to start/stop services. It works fine on my development machine, but on a stand-alone pc only Runtime installed with a license, he simply could not start/stop services!

    I did some research and found it we configure the executable file or an alternative is to use .net to achieve this goal. I couldn't stick with Exec System to achieve this?

    Thank you very much

    Waris K

    Sounds to me like a permission error - you are running as an administrator on the development computer, but as a less privileged user on the other computer? Exec system returns an error (try adding a simple error handler)?

  • Can not run the executable file by LV7.1

    Hi all

    I'm surprised, I can't build and run the executable file LV7.1.

    I used to write a few vi with LV7.1 and built the executable according to these vi. It was no problem to build and run this executable file at that time. Now I can open these vi well with LV7.1, bu I can't run this executable file, it will be a mistake, please refer to the attachment. I'm trying to compile an executable file according to a simple vi, and then I can't run this exe file much more.

    Can you help me solve this problem? Thank you in advance.

    Evan

    @Christian: this is not correct.

    One of the reasons to do this is if LV 7.1.1 is installed, and then you install an application, including the runtime engine built in 7.1. It corrupts the execution engine.

    See here: http://digital.ni.com/public.nsf/allkb/680E61A4D02158A186256F7A0073C228

    Daniel

  • Adobe first is not recognize my I need to edit the flv files.

    Adobe first is not recognize my I need to edit the flv files. Flv files are not an Adobe creation?

    This should be fixed!

    What I can do in the interem... and no, I DON'T want to convert the files to another format.

    Welcome to the forum.

    What PrPro version do you use?

    FLV Import support has been removed from PrPro recently - * think * it was with on the second update to CS6, but others can check the exact time it was deleted.

    Good luck

    Hunt

  • Cannot open the project file with write access.

    I saw that this problem has been reported before, but have yet to find a solution.

    I have my project file in an external hard drive.  When I plug the hard drive to another computer and want to save it, I get this message:

    "Cannot open the project file with write access.  The file may be locked, or you don't have permission to write to this location.  Select Save as... »

    I don't want to register as because other projects refer to this file and also my file is still going to be ruined.

    FYI two computers use Windows 7.

    All solutions?

    Right-click on the folder in Question and select Properties. Select tab security make sure you that you then add everyone to the list of users. Do you this by selecting edit and then add. Type in all members of the section of the object, and click ok. Then select all the user and check full control. Press Apply and we'll adjust the permissions for the folder and subfolders and files.

    Eric

    ADK

  • Legend of java ServiceBus - how to pack the JAR file with the libraries?

    Hello

    I want to use a legend of Java from a stream of Bus Service.

    What is the right way to pack the JAR file with its necessary libraries?

    I have tried different methods to pack my POT, but again, as if Java works perfectly workshop (Eclipse), when I try to use the Jar exported on the ServiceBus stream, it fails with a ClassNotFoundException exception.

    I would appreciate your advice here.

    Thank you

    Koby

    Follow the steps: -.

    1. create a java file with a static method that is running your features
    2. in the container, the file use the following command:-

    jar cvf entry file jar-file (s)

    For example, jar cvf Test.jar Test.class

    3. in the Console ALSB, open the session in edit or design mode. Create a folder (if you wish).

    4 inside of this folder, create a resource > Jar. Select the jar file you created above, and then name the resource. Record.

    5 activate the changes.

    6. in the proxy, AddAction service > Message Processing > JavaCallout.

    7 select the resource and method. Click on submit. (Only static methods defined in the file will be displayed)

    8. you can test by logging the response since the Java file.

    I hope this helps.

  • cannot addon, can't edit the necessary files; XP and no only installed script

    Have windows XP sp3 and latest firefox, did install no script but cannot install any other addon. Error - Cannot install, not able to edit the necessary files. This allows Java, allowing other addons does not help.
    Unable to create a new profile that the procedures given do not work.
    Allowing all global scripts does not help.

    Thanks for help

    Michal

    Create a new profile as a test to see if your profile is the source of the problems.

    See "create a profile":

    If the new profile works then you can transfer files from a profile in the new profile, but be careful not to copy files corrupted to avoid transporting on the problem.

  • I opened 2 emails that were in the folder spam from my email and that each contained an attachment zip 2 k and 3 KB. As I could not open directly in my email, I opened the zip files with the "open in" another app option. At the opening of th

    I opened 2 emails that were in the folder spam from my email and that each contained an attachment zip 2 k and 3 KB. As I could not open directly in my email, I opened the zip files with the "open in" another app option. When you open the zip files at this other app asked me if I wanted to extract zip files in a new folder, I have accepted, in both files .js (javascript) files there. I opened these .js inside this same application files and content files white text on black background and that seems to be a script file. My question is: my iPad Air has been compromised by a scam of viruses, such as the Trojan horse thieves and banking password especially as Dridex or Dyreza, the Trojans and ransomware as Locky, cryptolocker, or Teslacrypt. If that were the case, then what is the solution to get rid of these... Thank you.

    Simply delete them. It is not possible to install anything on iOS using this method. For good measure, you can remove and reinstall the application allowing you to open it with, but I don't really have that is actually needed.

  • My Avira Antivirus has been removed and the executable file Recovery Disc Creator

    Hello

    I want to create recovery DVDs, but I can't use Recovery Disc Creator because Avira deleted the executable file. How to do it?

    Thanks in advance

    I use Avira if a long time now and I've never experienced something like that. It's pretty bad situation now.

    Creator of recovery disk Toshiba cannot be downloaded and what you can do now is to reinstall the OS using the HARD drive recovery option, then when the laptop has once again factory settings, you will be able to start this tool and create the recovery disk.

    Out of curiosity, what model of laptop you have exactly?

  • Cannot open the PDM file with excel 2016

    Hey guys,.

    I have Office 2016, LV 2015 and (I checked my "TDM Excel Add-in" file) the Excel Add-in 2015 of CT.

    I have attached a picture of what I get when I try to open the PDM file with excel.

    So, I found something strange. I checked active supplements under the excel options and the TDM Excel Add-in is listed as inactive (and is called a COM-add-in). I tried to activate it, by checking the box (see the second picture), but that does not change. Interesting is the last line of my second attached photo:

    Translated it means: ' loading behavior: a runtime error occurred when trying to load this Add-In.

    I have 10-64 bit operating system like windows.

    Someone at - it a solution?

    Kind regards

    Slev1n


  • Y at - it an easy way to have a version number that the code VI has access to, and which is used as the version number for the executable file and the installer builds?

    Y at - it an easy way to have a version number that the code VI has access to, and which is used as the version number for the executable file and the installer builds? Now whenever I update my software I need to change the global variable where I store the version number, and then when I build I have in hand, open the properties and change the version number for the executable file and the installer. Is there an easy way to make these as all corresponding automatically?

    Have you tried a search? This question comes up a LOT. Here are the results of a search: http://forums.ni.com/t5/forums/searchpage/tab/message?location=Node%3A170&q=application+version#mess...

  • the contents of this file cannot be decompressed the executable file that you are attemptiong to run

    The contents of this file cannot be decompressed the executable file you are trying to run has been corrupted you can get another copy of the file check its integrity and try again.

    You have not told us what you're doing or what program you are trying to use...

Maybe you are looking for