LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 8.2: Running VI as Application via Runtime creates two "windows" in taskbar

Solved!
Go to solution

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

0 Kudos
Message 1 of 7
(2,713 Views)
All .EXE's created with ApplicationBuilder need LabVIEW RunTime Engine. Maybe that's what you are looking at
0 Kudos
Message 2 of 7
(2,705 Views)

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

0 Kudos
Message 3 of 7
(2,700 Views)

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

0 Kudos
Message 4 of 7
(2,691 Views)
Solution
Accepted by topic author MichaGue_01

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.

Message 5 of 7
(2,687 Views)

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

0 Kudos
Message 6 of 7
(2,672 Views)

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.

0 Kudos
Message 7 of 7
(2,655 Views)