The commandbar tag has no wiki summary.
5
votes
1answer
231 views
Context menu for an Internet Explorer toolbar
I am working on IE toolbar and I am trying to give the command to the context menu item in web browser, means I am adding an item in context menu and then I trying to give the command for that item.
...
2
votes
2answers
2k views
How do I create a toolbar in an XLA document?
How do I create a toolbar for Excel using an XLA document?
2
votes
1answer
2k views
Showing caption for CommandBar button with Excel VBA
I'm trying to add a button to a new CommandBar (for the Add-in tab) with Excel VBA. I can get the button into the ribbon and can get an image to show up for it if I use a FaceId, but I can't get the ...
1
vote
3answers
1k views
CommandBars in outlook 2010
so I've noticed that CommandBars appear in tabAddIns in outlook 2010 by default. Is there any way I can get them to appear in my custom ribbon tab instead?
If it is impossible or very challenging, I ...
1
vote
1answer
203 views
How to make a Excel CommandBarButton Invisible on create?
I have an Excel Add-In that has 2 buttons, the second of which I would like to be hidden when the Add-in is loaded. Here is my code:
public void OnStartupComplete(ref System.Array custom)
{
...
1
vote
1answer
188 views
How to get the “Data Validation” CommandBarButton object?
I need to hide the Data Validation button when user switch to particular sheet, but I cannot locate this button in Application.CommandBars.
I have tried to loop out all the CommandBar object and its ...
1
vote
0answers
203 views
C# VSTO Outlook Add-In: slow adding of controls
I am writing an Office Outlook Add-In and encountered a problem with slow adding of CommandBarPopups to the context menu.
This is the code that is running pretty slowly:
var button = ...
1
vote
0answers
323 views
Adding toolbar button fails for some built in commands
I am creating a toolbar with code in Word 2003
For some ids the creation fails with following message
Method 'Add' of object 'CommandBarControls' failed
The procedure code is. It works with ...
1
vote
2answers
3k views
Set a CommandBar “Popup” submenu icon dynamically
I'm just trying to confirm this: In Office 2003, I want to create a custom submenu--what is known in CommandBar parlance as a popup (msoControlPopup)--at runtime, and set an image for it. With a ...
1
vote
1answer
1k views
C# VSTO Outlook 2007: Add icon for CommandBarPopup
Hi i want add image icon for my CommandBarPopup button at standard commandbar like Send & Receive Button.
Popup is working, i have Buttons with icons there but I need top icon in popup (next to ...
1
vote
0answers
219 views
Resize CommandBar in WinCE (win32) VC++
WinCE
Hello ,
I am creating a command bar in a dialog box in WinCE:
CommandBar_Create(GetModuleHandle(NULL), hwnd, 1);
and then adding bitMaps and command Button using:
...
0
votes
3answers
3k views
How to create a button like New Mail in Outlook add-in?
Can anyone pls tell me how to create a button(in CommandBar) like 'New Mail' (with a dropdown list) in Outlook?
When one clicks on the button it should do some action and when clicked on the down ...
0
votes
1answer
248 views
BHO or Command Button for explorer
I am trying to develop a command button that would appear on windows explorer. I can do this for an NSE but what I want to do is make the button visible on every explorer window. I want it to work for ...
0
votes
1answer
15 views
Dock TaskPanes right using VBA for Word 07?
I have little experience in VBA, and am trying to make some minor adjustments to Word's default load settings.
When a user creates a document, I need the Styles Formatting Pane to open (I got this ...
0
votes
0answers
81 views
Working with excel in .net c#
How can i add something like the image below to "Cell" command bar of excel with c# ?
The code that i have used is :
using Excel = Microsoft.Office.Interop.Excel;
...
CommandBar ccb = ...
0
votes
2answers
393 views
Outlook Addin - CommandBar Issue in Outlook 2013
I have Outlook Addin Developed in visual Studio 2003. its using CommandBar for adding Addin Tab and menu for my Addin. it is working properly till Outlook 2010,but its not running in Outlook 2013, due ...
0
votes
0answers
125 views
How to customize a right-click (shortcut) menu for a MS PowerPoint Shape?
The question is :
how to customize a right-click (shortcut) menu for a MS PowerPoint Shape?
For the application I can use WindowBeforeRightClick (and than calling this :
Office.CommandBar ...
0
votes
0answers
86 views
Any way to hide or show IE9 CommandBar programmatically?
Any way to hide or show IE9 CommandBar programmatically? Such a simple quuestion, but it is insane. Or MSDN documetation just a delusion?
0
votes
1answer
781 views
Access VBA CommandBarButton.OnAction doesn't work
I'm trying to create my own toolbar button (commandbarbutton) in Access VBA Editor. Its a button to run a procedure in a public module called "RunTests". I made the button like so:
Public Sub ...
0
votes
1answer
208 views
Adding context menu for VS 2010 Add-In on loading
I'm creating an Add-In for Visual Studio 2010.
I want to add the context menu item to the tab during Add-In loading
(in OnConnect method of the Add-In):
I do know how to add the menus using ...
0
votes
0answers
772 views
VBA Excel - Change Menu Item
I'm trying to change the paste action and disable the paste special buttons.
I've checked around the internet and found something along these lines
Private Sub Auto_Open()
...
0
votes
1answer
146 views
Missing CommandBars.Item
using Microsoft.VisualStudio.CommandBars;
In the following sample.
var applicationObject = (DTE2)application;
var allCommands = ((CommandBars)applicationObject.CommandBars);
Simple question: Why ...
0
votes
1answer
179 views
ASP.Net HTML Code Window Constant Name
I am trying to place a right-click menu addin for the asp.net html window.
The one I currently have works on the C#/Vb code window...just not in the html code window.
commandBars = ...
-1
votes
0answers
37 views
save button not being fired on clicking
I am facing a very different problem. I have made a button save and defined it's OnSaveClick, but no event is being fired on clicking that button. However, it is working for the other two buttons..
...