How to remove the menu items when remove Add-On

I have built an SAP B1 add-on. Now when I remove the add-on the exe is still running as a process and the menu items are not removed. How do I take care of them

hi.
I am using below code... for killing the exe at process
but i am not understood menu items.
what type of menu items..
once close the b1 where is menu items..
can u plz explain..
  Private Sub app_AppEvent(ByVal EventType As SAPbouiCOM.BoAppEventTypes) Handles objApplication.AppEvent
        Try
            Select Case EventType
                Case SAPbouiCOM.BoAppEventTypes.aet_ShutDown
                    objApplication.MessageBox("A Shut Down Event has been caught" & _
                        Environment.NewLine() & "Terminating 'Add Menu Item' Add On...")
                    '// terminating the Add On
                    ' oApplication.SetMessage("SAP Business One is Shutting down..", SAPbouiCOM.BoStatusBarMessageType.smt_Warning)
                    System.Windows.Forms.Application.Exit()
                Case SAPbouiCOM.BoAppEventTypes.aet_CompanyChanged
                    objApplication.MessageBox("A Shut Down Event has been caught" & _
                        Environment.NewLine() & "Terminating 'Add Menu Item' Add On...")
                    'oApplication.SetMessage("Company has been changed.", SAPbouiCOM.BoStatusBarMessageType.smt_Success)
                    System.Windows.Forms.Application.Exit()
                Case SAPbouiCOM.BoAppEventTypes.aet_ServerTerminition
                    objApplication.MessageBox("A Shut Down Event has been caught" & _
                        Environment.NewLine() & "Terminating 'Add Menu Item' Add On...")
                    'oApplication.SetMessage("All Add-on are Shutting down..", SAPbouiCOM.BoStatusBarMessageType.smt_Success)
                    System.Windows.Forms.Application.Exit()
                Case SAPbouiCOM.BoAppEventTypes.aet_LanguageChanged
                    objApplication.MessageBox("A Shut Down Event has been caught" & _
                       Environment.NewLine() & "Terminating 'Add Menu Item' Add On...")
                    ' oApplication.SetMessage("System Language has been changed.", SAPbouiCOM.BoStatusBarMessageType.smt_Success)
                    'Case SAPbouiCOM.BoAppEventTypes.aet_CompanyChanged, SAPbouiCOM.BoAppEventTypes.aet_LanguageChanged, SAPbouiCOM.BoAppEventTypes.aet_ServerTerminition, SAPbouiCOM.BoAppEventTypes.aet_ShutDown
                    '    System.Windows.Forms.Application.Exit()
            End Select
        Catch ex As Exception
            'oApplication.StatusBar.SetText(ex.Message)
        Finally
        End Try

Similar Messages

  • How to change the menu item's title in different language master page?

    I have a menu item in my English master page. I can change the titles of the menu items as I like in English related pages, However when I change the titles in the same pages that is related to different language page master, the changes does not take affect. Please  help. 

    you can use different CSS classes given in http://www.oracle.com/technology/tech/blaf/specs/textStandards.html
    --Prasanna                                                                                                                                                                                                                                                       

  • How can i remove the menu item from a menu

    how can i remove the JMenuItem from a JMenu at run time.
    thanks in advance

    This is in JMenu from the api
    void remove(JMenuItem item)
    Removes the specified menu item from this menu.
    You must download the api! it helps a lot!
    You can do that or if you need to access it again just set it visible(false);

  • How to set the menu item you want highlighted upon playing DVD

    I have a list of about 9 menu items on my main DVD menu. The 6th one is the one that is highlighted when you play the DVD. This happens in submenus as well. I want the FIRST one highlighted at all times. Is there a way to set that?
    Thanks for any help in advance.

    I was having this problem and I found a fix. It all happens in map view.
    I'm viewing my iDVD project map horizontally... Left to Right.
    Whatever object is directly to the right, will be the default. Here's a lame diagram.
    MENU-MOVIE 1
    -MOVIE 2
    -MOVIE 3
    In this example... Movie 1 is the default. It's right next to Menu. Want to change it? Got everything saved? Then select Movie 1 and hit Cmd-X to Cut.
    It will disappear in a poof of smoke. Don't panic. Notice how the other movies got "promoted?"
    MENU-MOVIE 2
    -MOVIE 3
    Now Movie 2 is the default. SO!
    Select the MENU object and hit Cmd-V to Paste.
    Movie 1 should return at the bottom of the list. Like so.
    MENU-MOVIE 2
    -MOVIE 3
    -MOVIE 1
    Now preview your work to make sure.
    Good Luck!

  • How to change the menu item text

    Hi,
    in cj20n transaction, for one of menu item i have to change the text of the item. How can i change the text.
    Regards,
    Ram

    HI,
    First try to find the exists available for that transaction and find menu exit in that exist. Once you find the exits create project in tcode cmod then go to that menu exit.
    Just double click on that exit, it will show the existing text, if you want to change the text then click on change mode, it will asks for package, you have to provide package then give the text whatever you want and save it and activate it.
    The new text will be available in your transaction.
    Regards,
    Venu

  • How To Edit Sub Menu Items

    When I go to edit the sizes of my sub menu items, how do I edit the sizing for all of them? I can't remember the shortcut key that you hold while dragging / sizing the menu item.

    Container.remove...();I'll let you read the API to find all the different remove methods.

  • How can I remove some menu items in the VC++ "Full featured" example that came with TestStand 3.5.

    The full featured operator interface example of VC++ contains several menus such as File, Execution, Debug, Tools, and Help.  I would like to remove or gray out some of the items base on the access privilege of the user's login.  For instance if a user login as admin, I would turn on all the features. However, if an operator login to run a test sequence, I would only provide limited menu options.

    The display of the menu items is already depending on the user's privilieges.
    1/ Modify the privileges of each user profile to enable or disable some menu accesses (Look at "Using TestStand" manual, chapter 7).
    2/ If you need to change the TestStand default behaviour, you can customize the privilieges needed to display some menu items :
    Tools menu : The items are fully customizable. You can define the privilieges needed to display them.
    Process Model : The "Enabled expressions" of the configuration and execution entry points are customizable. (->Sequence properties, "Model" tab)
    3/ Finally you can customize the operator interface to choose the menu items to display. (Look at "TestStand Reference Manual", chapter 9)
    But before you try to customize TestStand, try to explain your needs : The Operator Interface already  updates the menu items depending on the user profile.
    And an operator user has already limited menu options.
    If you need to define  more limited options, the easiest way is to customize the user privilieges of the "operator" profile.
    Bruno

  • I lose the minimize, restore and close down buttons in the top right corner when removing the Menu Bar.

    I am using Firefox 28.0 on my Windows 7 64-bit PC. I would like to remove ONLY the menu bar and keep the orange Firefox tab. But when I uncheck the Menu Bar box, I not only lose the menu bar, I lose the three buttons on the very right of the screen as well - the minimize button, the maximize/restore down button, and the red 'X' close button. The space where these buttons ought to be is black. When I recheck the Menu Bar box, those three buttons on the right of the screen reappear!
    I would like to know how I am to remove the Menu Bar but keep the minimize button, the maximize/restore down button and the red 'X' close button.
    Eagerly waiting for your reply! Thanks much! ♥

    Hello again, cor-el,
    Thank you again for keeping up with me on this! I really appreciate your time!
    I tried your suggestions of using Safe Mode and a different Windows theme (2 different ones to be exact), but neither solved the problem. Each time I tried disabling the Menu Bar, the same 3 buttons disappeared and I got nothing but black space. It doesn't even fill the space with any background I may have. It's just black.
    Additionally, disabling all my personas did not help, either. :(
    I've been using Firefox for years now and I've never had this issue. It's always worked flawlessly for me.

  • How do I remove the menu button? The Customize option doesn't seem to work for that.

    How do I remove the menu button? [That IChing looking three line icon on the toolbar.]
    The toolbar Customize option doesn't seem to work, and it seems a waste to have a button that duplicates the menus. I'd like to swap it out for the NoScript icon.

    Hi, ''I can't recommend that you do it'', but If you really are determined, [http://www.tweakguides.com/Firefox_12.html this article] may help.

  • How to remove the Page Item in thin Bean JSP

    Hi, I'm wondering how to remove the Page Item in JSP developed by BIBeans, since I have tried to remove the Presentation's Page Item in BiBeans Catalog, but with no result in JSP. Thank you!
    Jeff

    There are two ways to do this:
    1) If you want to remove and individual dimension from a presentation, you can hide the dimension. This can be performed directly from within QueryBuilder. Within the first section of Query Builder that shows the selected measures selected and associated dimensions, simply remove the required dimensions from the right dialog panel.
    2) To hide all page items within a presentation, simply add the following the property, pagingControlVisible="False", to the presentation tag in your JSP. For example:
    <orabi:Presentation location="Local Computer Sales/Products/KPI Sales Prior Period and Prior Year" id="BIProductKPIs_pres2" pagingControlVisible="False"/>
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • How do I remove the password step when renting movies?

    Hi Guys,
    How do I remove the password step when renting movies? I find the interface tedious and would like to eliminate this step.
    I figure I can police my account through my receipts from iTunes which are always itemised.
    Is there a place I can change the preferences to automatically allow downloads in my apple TV?
    Thanks in Advance,
    Chuck

    It actually asked last time I made a rental.
    Can't remember right now if there's an option in iTunes store Settings on the unit.
    Will check when I find my remote!
    AC

  • How can I prevent firefox to Offer to save passwords and how to remove the tick checked when I log in to gmail?

    While using firefox I am using, private browsing and not remembering any passwords.
    When I login to Gmail, the login page shows option to type in my gmail id and then password, and at the bottom, it gives the option of checkbox to remember the password next time. NOW, the problem is that, THIS CHECK box is always TICKED (Checked). I don't want it to be checked at all.
    So How can I prevent firefox to Offer to save passwords and how to remove the tick checked when I log in to gmail?
    Thank you so much.

    Hi Imran_Afzal, if you know that setting the cookie has no effect after you close your private browsing session, is it really worth finding a hack to clear the checkbox?
    I believe in order to do that you would need to use an extension or userscript. However, I haven't searched for one.
    ''Note: When searching for a userscript on userscripts.org, be very cautious as many hacked scripts have been posted lately. Check reviews and check the code to make sure it only runs on your Google site before installing.''

  • HT5891 Is there a way to remove the menu bar from a secondary display while still using the "Displays have separate spaces" mode?

    Is there a way to remove the menu bar from a secondary display while still using the very useful "Displays have separate spaces" mode?
    The reason I ask is that most full-screen video playback in most applications, from iTunes to Flash/Silverlight plugins do not take up the full screen, instead leaving space for the menu bar (in the case of iTunes) or leaving the menu bar present on top of the video (for fullscreen Flash/Silverlight videos).
    This is annoying for several reasons ranging from the obvious distraction factor to the fact that 1080p video is not played back at native resolution on a 1080p display.
    If there is no way to disable this functionality while maintaining separate spaces, I would (humbly) suggest that a future update to Mavericks allow non-Lion-style* full-screen apps to take over the entire display.
    *Lion-style full-screen apps are those that animate into a full-screen mode when the opposing-arrows full-screen button in the upper-right-hand corner of the window is pressed.

    No. Turning that off reverts to the old display setup. You have one desktop spanned across all displays. The menu bar appears on the primary display only.

  • NOKIA 6300 remove the menu

    hi!
    I would like to know how to remove the menu and have only the "go to", "menu" and "contact" buttons on the bottom.
    I know it's possible...
    Thank you

    menu>>settings>>>display>>>active standby>>off
    NokIA 5310XM V5.81 - 06-02-08 - RM-303 - 8GB microSD

  • Flash menu that highlights the selected item when changing page?

    Hi all,
    I'm trying to create a menu in flash that will highlight the
    current
    selected menu item when selecting a specific page.
    Example menu:
    - home
    - products
    - product 1
    - product 2
    - product 3
    - contacts
    - email
    - form
    Imagine you have a link in a page that opens the contact >
    email page.
    Is there a way to get the flash menu to highlight the
    "contacts > email"
    item when displaying this page?
    Something similar to this
    http://tinyurl.com/5c9993
    Is there an application that can do this easily?
    Thanks in advance for any idea.
    Tony

    here is a link to a rar file i just updated for ya.
    it is a flash movie and 2 web pages. showing how u can send
    variables to flash with java script.
    http://www.wholesalegranitedist.com/home/tutorials/jsquery.rar
    if you can't get this file let me know i will just post it
    here.
    you will have to change the menu depending on which variable
    u send. to flash. it can change on which page you visit;). ask more
    questions if you need to. or private message me.

Maybe you are looking for

  • Message required in Log in Language

    Hi, SRM 4.0 , Classic Scenario. While creating a SC , I am getting an Error message which is in Dutch Language , which I want in English Language. Actually this message is for Cost Centre which is called from B.E. system KI-235 & in SRM , message cal

  • In BADi , How to pass the values between two Method

    Hi Experts, We have two methods in BADis. How to pass the value  between two Methods. Can you guys explain me out with one example... Thanks & Regards, Sivakumar S

  • My ipad 2 no longer recognizes my apple sd card reader

    Can anyone tell me why my apple SD card reader stopped working?

  • OWA Exchange 2013: Something went wrong error

    Getting this error on event log for owa. when we log in to owa, error shows :"something went wrong" 500 tried to recreated owa virtua directories and webconfig file but same issue, please help. Event code: 3008 Event message: A configuration error ha

  • Why won't my browser history clear?

    This latest upgrade has been awful for a very basic computer user like me. I've used Mozilla happily for years but the amount of time I'm spending trying to put it back to the way I like it is starting to make me reconsider the whole thing. Chrome is