Adding a new toolbar and some command buttons on that new toolbar

K

kishore

I need write a COM add-in to OutLook that adds a new
toolbar to the OutLook's Toolbar. This tool bar should
apear only in new mail window.I need to add two command
buttons to that new toolbar. This new tool bar should
appear only in new mail window. I.e Composing a mail

There are two commands(buttons) by name "Digitally sign
Message" and "Encrypt Message Contents and Attachments".

These are present in the Tools -> Customize -> Commands ->
In categories select Standard -> on the Right side, if you
scroll down you can see commands(buttons) by
name "Digitally sign Message" and "Encrypt Message
Contents and Attachments".

On the whole, what i am trying for is , placing the above
two commands on my new toolbar that i will create using
com addin.

So, . These buttons are already present in the standard
command bar (This buttons will come only when you try to
customize the tool bar of new mail). We need to add this
Digitally sign message and Encrypt message contents and
Att…. Buttons to the outlook programmatically using
some
com addin or some other technology.

The buttons should appear on their own toolbar in the
Wordmail or Outlook message entry windows.

There are two different email-editing solutions in
Outlook -Mail Editor and Wordmail.

Since this code calls the Outlook Sign and Encrypt
functions it can be a standalone object (not connected to
any other module) and should not have any dependencies
besides Outlook.

Could you please help in on writing a com addin or some
macro where it will create a new commandbar and will place
these two buttons on that new command bar.

Please do help me in this regard and thank you in advance
for the help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top