LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hiding the Extra LabVIEW Entry in the Windows Taskbar

Hello,
I've tried to hide the second Entry in the taskbar. In the NI - support,
they write that I have to add "HideRootWindow=True" to the LabVIEW.ini file.
OK, I have done it, but this only hides the extra entry when I use LabVIEW,
but it doesn't work when I run it as an executable. And I don't want to make
it non-resizable.
So what can I do?
Thank you for your help.
Lars
0 Kudos
Message 1 of 6
(3,590 Views)
An executable has its own .ini file. Have you tried adding it there?

"Lars" wrote:
>>Hello,>I've tried to hide the second Entry in the taskbar. In the NI -
support,>they write that I have to add "HideRootWindow=True" to the LabVIEW.ini
file.>OK, I have done it, but this only hides the extra entry when I use
LabVIEW,>but it doesn't work when I run it as an executable. And I don't
want to make>it non-resizable.>So what can I do?>Thank you for your help.>Lars
Message 2 of 6
(3,590 Views)
Are you sure? In the runtime folder is no ini, and the aplication builder
only creates the .exe, and the daqdrv and serpdrv.
I haven't found any other .ini file.



"Dennis Knutson" wrote:
>>An executable has its own .ini file. Have you tried adding it there?>>"Lars"
wrote:>>>Hello,>I've tried to hide the second Entry
in the taskbar. In the NI ->support,>they write that I have to add "HideRootWindow=True"
to the LabVIEW.ini>file.>OK, I have done it, but this only hides the extra
entry when I use>LabVIEW,>but it doesn't work when I run it as an executable.
And I don't>want to make>it non-resizable.>So what can I do?>Thank you for
your help.>Lars
0 Kudos
Message 3 of 6
(3,590 Views)
The executable creates the ini (at least all my executables) or you can create
your own.

"Lars" wrote:
>>Are you sure? In the runtime folder is no ini, and the aplication builder>only
creates the .exe, and the daqdrv and serpdrv.>I haven't found any other .ini
file.>>>>"Dennis Knutson" wrote:>>>An executable
has its own .ini file. Have you tried adding it there?>>"Lars">
wrote:>>>Hello,>I've tried to hide the second Entry>in the taskbar. In the
NI ->support,>they write that I have to add "HideRootWindow=True">to the
LabVIEW.ini>file.>OK, I have done it, but this only hides the extra>entry
when I use>LabVIEW,>but it doesn't work when I run it as an executable.>And
I don't>
want to make>it non-resizable.>So what can I do?>Thank you for>your
help.>Lars
Message 4 of 6
(3,590 Views)
Good tip, thank you.
I have created my own .ini file. Didn't know that LabView would accept .ini
that are not create by LabView itself.
But I'm learning every day....
Thanks again.
Lars




"Dennis Knutson" wrote:
>>The executable creates the ini (at least all my executables) or you can
create>your own.>>"Lars" wrote:>>>Are you sure? In
the runtime folder is no ini, and the aplication builder>only>creates the
.exe, and the daqdrv and serpdrv.>I haven't found any other .ini>file.>>>>"Dennis
Knutson" wrote:>>>An executable>has its own
.ini file. Have you tried adding it there?>>"Lars">>wrote:>>>Hello,>I've
tried to hide the second Entry>in the ta
skbar. In the>NI ->support,>they
write that I have to add "HideRootWindow=True">to the>LabVIEW.ini>file.>OK,
I have done it, but this only hides the extra>entry>when I use>LabVIEW,>but
it doesn't work when I run it as an executable.>And>I don't>want to make>it
non-resizable.>So what can I do?>Thank you for>your>help.>Lars
0 Kudos
Message 5 of 6
(3,590 Views)
Lars,

Here is some more info about this ini file trick. You want your exe to load
any of the labview options without explicitly loading them using the config
file vi's. The ini file has to be in the same directory as the exe. the
file must have the same name as the exe (changing the .exe to .ini) and these
options must be in a section with the same name as the exe without the .exe
extension.

An example :
Program name : test.exe
ini name : test.ini
section name : [test]
then your options : HideRootWindow=True

hope this helps
Jared

"Lars" wrote:
>>Good tip, thank you.>I have created my own .ini file. Didn't know that
LabView would accept .ini>that are not create by LabView itself.>But I'm
learning eve
ry day....>Thanks again.>Lars>>>>>"Dennis Knutson"
wrote:>>>The executable creates the ini (at least all my executables) or
you can>create>your own.>>"Lars" wrote:>>>Are you
sure? In>the runtime folder is no ini, and the aplication builder>only>creates
the>.exe, and the daqdrv and serpdrv.>I haven't found any other .ini>file.>>>>"Dennis>Knutson"
wrote:>>>An executable>has its own>.ini file.
Have you tried adding it there?>>"Lars">>wrote:>>>Hello,>I've>tried
to hide the second Entry>in the taskbar. In the>NI ->support,>they>write
that I have to add "HideRootWindow=True">to the>LabVIEW.ini>file.>OK,>I have
done it, but this only hides the extra>entry>when I use>LabVIEW,>but>it doesn't
work when I run it as an executable.>And>I don't>want to make>it>non-resizable.>So
what can I do?>Thank you for>your>help.>Lars
0 Kudos
Message 6 of 6
(3,590 Views)