UI Interest Group Blog

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

Menu bar shode be hidden in exe

Member

I make .exe, using Properties I hidden menu bar.

Menu bar is only hidden when exe is running.

But when we stop the exe then again Menu bar is come.

Problem: I never want to show menu bar.....when exe is not run means ideal mode.

I trying by run timemenu bar and file-> property option.

still propelm is remain.

plz help me.

Comments
Knight of NI

1) An executable should always run at startup.

2) An executable should always close it's frontpanel on stop/exit.

The problem you describe probably comes from not obeying those 2 points...

Just for clarification: If you start any executable (like WinWord or FireFox) it will run automatically. If you quit those applications they close their window. Why should a LabVIEW executable behave different?

Best regards,
GerdW
CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

Member

Dear GerdW

Thanx for ur replay.

  Your statements are right. but in my codeing exe is not close when it's frontpanel Stop/exit.

  your Question :Why should a LabVIEW executable behave different?

But if we ceate exe in .net then .Net exe never shows "code Menu bar" when. why Labview exe shows? Can i slove it?

Knight of NI

Hi Dynamic,

what do you mean by "is not close when it's frontpanel stop/exit"?

Why do LabVIEW executable show a menu bar?

Because you have to change some settings in your VI. You're the programmer, you're responsible for all VI settings...

Don't you think such a discussion is more appropriate to be held in the LabVIEW forum?

Best regards,
GerdW
CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

Member

Hey Dynamic,

You need to remove the menu bar in your VI properties before compiling. Select File > VI Properties > Window Appearance. Click custom and you'll find some options for turning off the menu bar.

In order to get the front panel to close when you exit your software, you need to make a call to "Quit LabVIEW". Check out the snippet below.

Exit.png