+ Reply to Thread
Results 1 to 3 of 3

VSTO 2003 Excel Command Bars

  1. #1
    BIZI
    Guest

    VSTO 2003 Excel Command Bars

    Hi!
    in my application, I want to execute my managed code with a click on a
    toolbar botton. I created my own custom command bar (like it is shown on
    MSDN, the articel is from Brian A. Randall)
    If I start the application from VS it works fine: I can see my own menu bar!
    If I start directly the Excel- sheet, I can see for a short time my menu-
    bar, then it is away.
    What can i do to fix this problem?

    thanks in advance
    Bizi

  2. #2
    Tom Ogilvy
    Guest

    Re: VSTO 2003 Excel Command Bars

    Did you create it as temporary?

    from the article, it might be:

    Me.MenuBarItem = Me.MainMenuBar.Controls.Add( _
    Office.MsoControlType.msoControlPopup, Temporary:=True)


    --
    Regards,
    Tom Ogilvy


    "BIZI" <BIZI@discussions.microsoft.com> wrote in message
    news:9469DC74-8BD3-4D52-B635-B6EDB2B5B8F9@microsoft.com...
    > Hi!
    > in my application, I want to execute my managed code with a click on a
    > toolbar botton. I created my own custom command bar (like it is shown on
    > MSDN, the articel is from Brian A. Randall)
    > If I start the application from VS it works fine: I can see my own menu

    bar!
    > If I start directly the Excel- sheet, I can see for a short time my menu-
    > bar, then it is away.
    > What can i do to fix this problem?
    >
    > thanks in advance
    > Bizi




  3. #3
    BIZI
    Guest

    Re: VSTO 2003 Excel Command Bars

    Thanke you for your answer.
    I have checked this, it was true, then I tried false, but then it still does
    not work
    I have no idee

    "Tom Ogilvy" wrote:

    > Did you create it as temporary?
    >
    > from the article, it might be:
    >
    > Me.MenuBarItem = Me.MainMenuBar.Controls.Add( _
    > Office.MsoControlType.msoControlPopup, Temporary:=True)
    >
    >
    > --
    > Regards,
    > Tom Ogilvy
    >
    >
    > "BIZI" <BIZI@discussions.microsoft.com> wrote in message
    > news:9469DC74-8BD3-4D52-B635-B6EDB2B5B8F9@microsoft.com...
    > > Hi!
    > > in my application, I want to execute my managed code with a click on a
    > > toolbar botton. I created my own custom command bar (like it is shown on
    > > MSDN, the articel is from Brian A. Randall)
    > > If I start the application from VS it works fine: I can see my own menu

    > bar!
    > > If I start directly the Excel- sheet, I can see for a short time my menu-
    > > bar, then it is away.
    > > What can i do to fix this problem?
    > >
    > > thanks in advance
    > > Bizi

    >
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1