Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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" wrote in message
...
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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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" wrote in message
...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
URGENT HELP REQUIRED - EXCEL LOADS WITHOUT ANY COMMAND BARS AN francisA Excel Discussion (Misc queries) 1 May 8th 09 12:41 PM
Command Bars KneeDown2Up Excel Discussion (Misc queries) 4 January 16th 07 05:43 PM
Disable Excel Command Bars and Remove Irritating Grey Bar Andy B via OfficeKB.com Excel Programming 0 December 8th 05 09:23 AM
Hide all Excel tool/command bars except mine and reload on close Matt Jensen Excel Programming 2 December 20th 04 05:44 PM
Minimize/Maximize excel restores command bars Rockee052[_53_] Excel Programming 3 March 3rd 04 12:27 AM


All times are GMT +1. The time now is 10:45 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"