10-25-2011 09:43 AM
Hello,
I am running a VI as a compiled application in the runtime engine with windows xp. Why does it generate two "windows" in my taskbar (see attached picture) while both of them are the same?
Thanks a lot and best regards.
Michael
Solved! Go to Solution.
10-25-2011 09:52 AM
10-25-2011 09:57 AM
Hi,
One icon is for the LabView application or run-time engine, the other is for the vi itself. To get rid of the VI icon you must recompile the executable using with the "Allow User to Resize Window" option turned off. This option is found by right-clicking on the icon at the upper right of the vi front panel, selecting "VI Setup..." and then selecting "Window Options".
Best regards,
Michael
10-25-2011 12:30 PM
Hi MichaGue_01,
This is a LV7.1 Vi that does exactly what you want.... Just uncheck all "Allow user..." options under "VI Properties >> Customize..." and your .EXE will show only one window at the task bar.
Hope this helps
10-25-2011 12:39 PM
In the INI file for your EXE, add the following:
HideRootWindow=True
So, if your program is abc.exe, in the same folder as the EXE, there will be an abc.ini. Open that and find the section [abc]. Create it if it doesn't exist. Add the above entry.
10-26-2011 12:41 AM
Hi Methew,
thanks a lot. It Works! The ini entry is the most simple way.
Normaly, when I run the same application (e.g. Word) under Windows, the windows of the same programm group in the taskbar. The labview application does not group. Is there also an ini entry available to allow this?
Thank you.
Best regards,
Michael
10-26-2011 06:17 AM - edited 10-26-2011 06:18 AM
Try:
UseTaskbar=false
Note that you can use these in your LabVIEW environment, too, by placing them in the LabVIEW INI file in the [LabVIEW] section.