Create Word Custom Task Pane using VB6 - dll

We have a already designed Word ribbon bar and we have our own styles set. We have a ribbon bar button called 'Styles' and when click on it, Styles model dialog will pop-up.
Now I need to create a non-model dialog to show the Styles as like as the the Word in-built Styles pane.
<dialogBoxLauncher >
<button idMso="StylesPane" />
</dialogBoxLauncher>
Our product's final output is a .dll and a Word Ribbon bar (.dotm).
Is it possible to overWrite the StylesPane iDMso to only show our Styles set within the task pane?
If can't, then . I have to create a custom task pane to hold those styles.
I found this article on "Creating a custom task pane using VB6".
But it is about Visual Basic AddIns.
I tried to find articles on web. But I was unable to find a good article.
It is really appreciated, if somebody can instruct what is need to do in this case.
Thank you.

Related

How to create custom shapes menu in Powerpoint

By the "Shapes Menu," I mean the menu that you get to from the ribbon by going to Home -> Shapes.
I would like to either:
Choose my own shapes for within the Shapes menu, including changing the names of separators
Create my own ribbon menu from scratch that allows you to create a gallery with separators
Here is a picture:
Note: I'm interested in doing this for Powerpoint 2013, not sure if that makes a difference.
A global intro to the Ribbon is available on the Microsoft site at http://msdn.microsoft.com/en-us/library/aa338202%28v=office.12%29.aspx. Be sure to check out parts 2 and 3, links to which are located in left menu of that page above.
More specifically, you might find some useful guidance on building a Gallery at http://msdn.microsoft.com/en-us/library/dd904887%28v=office.12%29.aspx.
In terms of modifying the XML behind ribbons, I use the Custom UI editor. You can download it at http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2009/08/07/7293.aspx

Can I base a word template on another template

For the purposes of branding, our Word normal.dot template is updated via the login script. This pains me terribly, because I have a number of very useful VBA macros that I want to have access to. Specifically, I have two macros that I add to the Quick Access Toolbar in the title bar that I use all the time.
From what I understand, those macros can only be taken from the document itself or from the template it is based on.
What I am looking for, is a way to either:
Add a QAT button to a macro in another file somewhere.
Base all my documents on a new template (call it abnormal.dot) which in turn is based on normal.dot, so it can retain the macros even when normal.dot is overwritten.
Any other way of achieving my goal.
Any ideas?
You can add additional templates to your Word Application.
Go to Developer Tab on the Ribbon >> Templates section >> press Document Templates...
In new window on Template page you will find Add button on the right- add there some additional templates. This should help.

Outlook 2003 toolbar customization: add/edit button list

I have macros in my VbaProject.OTM file. A new toolbar is created when Outlook is launched to allow users to easily run the macros.
(sorry about the interface being in French ;-))
I would like users to be able to customize the toolbar by removing some of its buttons or adding them back. Here is the customization panel:
All my macros are there (all the public Sub()s in modules). However, the macro names and icons aren't really user friendly. I'm looking for a way to change both the icons and names. I'm actually using default FaceIds for my toolbar buttons (but I will add some custom icons in the future too). Also, if there would be a way for some public Sub()s to not me showed there, it would be perfect. Or to add a whole category instead of the Macros category.
When searching through the Web, all I can find is how to add toolbar buttons (which is already done in my example). Does anyone have any idea on how to edit the names/icons in the toolbar Customization panel? Is it possible?
I suggest built-in dialog boxes cannot be modified with VBA.
Try adding a permanent button "Add/delete buttons" to the toolbar, to launch a userform to choose the specific macros you want users to work with. You could then use a better name and other text to describe the macros in your own listbox.

How do I add individual Custom styles to a new Word Tab in the Ribbon

We have created custom styles in Word 2010 and now want to add some of them as buttons to a custom tab in the Ribbon.
Using Custom UI Editor for Microsoft Office, I have added new tabs and placed buttons using the idMSO values but can't see any way of adding individual custom styles we have created as I can't see any way of referencing their unique Control Names.
Am I doing this the right way (creating .dotm files with the tabs in xml) and how do I add buttons for individual styles rather than the Styles drop down menu.
thanks

make collapsible custom task panes in outlook?

Is it possible to make collapsible task panes in outlook. ie. Can I have a button on lets say a ribbon that upon clicking can either make the pane appear, or if it is already open make is collapse or disappear? Everything I've been able to find related to this involves add-in express, which I do not have. Any help or leads would be greatly appreciated.
Add-In Express is not required to show or hide a custom task pane. You can toggle the Custom Task Pane visibility by using the TaskPane.Visible property.
customTaskPane.Visible = false; // hides task pane from view
See Custom Task Panes on MSDN for further reference, specifically the section "Modifying the Appearance of the Task Pane"