LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2 buttons in task bar

Hi there,

when starting my application 2 button will appear in the task bar. One
showing the caption name of my app plus icon and the other only showing
the caption name of my application w/o icon. Can somebody point my to
the reason for this behaviour and/or how to reduce it to only 1 button?

Thanks a lot

Klaus
0 Kudos
Message 1 of 7
(3,430 Views)
Sounds like you have both the VI Front Panel and the VI Block Diagram open. Both panels always open when starting a new application - as Labview assumes you will want to create a VI AND edit its block diagram. Just close the Block Diagram panel if you are not editing the code. Hope I understood your question - Good Luck, Doug
0 Kudos
Message 2 of 7
(3,429 Views)
Doug,
alas it is the "compiled" application I am speaking about, i.e. what the
user will get after he has installed the app.
There is no obvious sense for the second button (the one w/o the icon)
which appears in the task bar, since you can click on it but nothing
happens besides that it gets the focus for the time you hold the mouse
key pressed. But that's all. Very strange.

Klaus

CapeFl schrieb in im Newsbeitrag:
506500000005000000CE2A0000-986697009000@quiq.com...
> Sounds like you have both the VI Front Panel and the VI Block Diagram
> open. Both panels always open when starting a new application - as
> Labview assumes you will want to create a VI AND edit its block
> diagram. Just close the Block Diagram panel if you are not editing

> the code. Hope I understood your question - Good Luck, Doug
0 Kudos
Message 5 of 7
(3,429 Views)
In the application ini file, place the line:

hidesystemroot=True

to remove the app button from the taskbar

Jean-Pierre Drolet
Scientech R&D


"Klaus Hoelscher" a écrit dans le message news:
3b139c47@newsgroups....
> Hi there,
>
> when starting my application 2 button will appear in the task bar. One
> showing the caption name of my app plus icon and the other only showing
> the caption name of my application w/o icon. Can somebody point my to
> the reason for this behaviour and/or how to reduce it to only 1 button?
>
> Thanks a lot
>
> Klaus
>
>


LabVIEW, C'est LabVIEW

Message 3 of 7
(3,429 Views)
Sorry it's

hiderootwindow=True


"Jean-Pierre Drolet" a écrit dans le message
news: 3b13a943@newsgroups....
> In the application ini file, place the line:
>
> hidesystemroot=True
>
> to remove the app button from the taskbar
>
> Jean-Pierre Drolet
> Scientech R&D
>
>
> "Klaus Hoelscher" a écrit dans le message news:
> 3b139c47@newsgroups....
> > Hi there,
> >
> > when starting my application 2 button will appear in the task bar. One
> > showing the caption name of my app plus icon and the other only showing
> > the caption name of my application w/o icon. Can somebody point my to
> > the reason for this behaviour and/or how to reduce it to only 1 button?
> >
> > Thanks a lot
> >
> > Klaus
> >
> >
>
>


LabVIEW, C'est LabVIEW

0 Kudos
Message 4 of 7
(3,429 Views)
Seems promising. However, I have no idea where to find or how to create
a file named "application.ini". Please advise.

Thank you.

Klaus Hoelscher



Jean-Pierre Drolet schrieb in im
Newsbeitrag: 3b13a99d@newsgroups....
> Sorry it's
>
> hiderootwindow=True
>
>
> "Jean-Pierre Drolet" a écrit dans le
message
> news: 3b13a943@newsgroups....
> > In the application ini file, place the line:
> >
> > hidesystemroot=True
> >
> > to remove the app button from the taskbar
> >
> > Jean-Pierre Drolet
> > Scientech R&D
> >
> >
> > "Klaus Hoelscher" a écrit dans le message
news:
> > 3b139c47@newsgroups....
> > > Hi there,
> > >
> > > when starting my application 2 button will appe
ar in the task bar.
One
> > > showing the caption name of my app plus icon and the other only
showing
> > > the caption name of my application w/o icon. Can somebody point my
to
> > > the reason for this behaviour and/or how to reduce it to only 1
button?
> > >
> > > Thanks a lot
> > >
> > > Klaus
> > >
> > >
> >
> >
>
>
0 Kudos
Message 6 of 7
(3,429 Views)
STOP
Thank you all. I found the solution. There is a VI named INIMAKER which
can be downloaded from the NI developer site. When adding the INI
generated by this VI is added to the application when installing it and
this INI contains a section

[xyz]
hiderootwindow=true

wher xyz is the name of your app

the second button will not be visible any longer.

Thanks Jean-Pierre for pointing to the proper direction.

Klaus Hoelscher


Klaus Hoelscher schrieb in im Newsbeitrag:
3b139c47@newsgroups....
> Hi there,
>
> when starting my application 2 button will appear in the task bar. One
> showing the caption name of my app plus icon and the other only
showing
> the caption name of my application w/o icon. Can somebody point my to
> the reason
for this behaviour and/or how to reduce it to only 1
button?
>
> Thanks a lot
>
> Klaus
>
>
Message 7 of 7
(3,429 Views)