Using Windows.Forms-Designer to create an office-CommandBar??  
Author Message
Barthi





PostPosted: Windows Forms General, Using Windows.Forms-Designer to create an office-CommandBar?? Top

Is it possible to use the Windows.Forms-Designer to create a CommandBar, that can be added to the commandBars in MSOffice

I know how to create a new commandBar and how to add it to the commandbars in office, but it's a lot of work to do it by hand. So it would be nice, if I could create the buttons and actions in the Forms-Designer and afterwords add it to the new commandBar.

Is there any way to do this


Windows Forms8  
 
 
Whatabohr





PostPosted: Windows Forms General, Using Windows.Forms-Designer to create an office-CommandBar?? Top

You can't use the WinForms designer to do this, but you could use the VSTO (Visual Studio Tools For Office) api to get some help with this.

Here's some sample code:

http://www.outlookcode.com/vsto/toolbarpos.htm


 
 
Barthi





PostPosted: Windows Forms General, Using Windows.Forms-Designer to create an office-CommandBar?? Top

Well, ok.
But the VSTO aren't for free, are they