Click here to Skip to main content
14,878,186 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I need to know if it is possible and how to make an add-in to outlook 2007 that will add a button next to the Send that stats Send and File. What I need it to do is upon sending the message to have the sent message to be prompted if new to filed into either a folder within the mail box itself or to go to a .pst of the users choosing. And finally to have the app remember via a config file and give the user away from the main form to be able to change their settings.
Posted
Updated 14-Jan-11 8:47am
v2
Comments
#realJSOP 14-Jan-11 14:48pm
   
You don't need to list ALL of the versions of .Net in the Tags field. Using ".Net" is more than sufficient.
patrick.hinson 14-Jan-11 18:21pm
   
Alright I am sorry about this when it comes to office add-ins I am a completely new at this. First is what I am asking about even possible? Or do I need to clarify what I am trying to say? And thank you the cpu monitor add-in it showed me how to add a button to the main but is there a way to add a button next to the send button? And to make this new button act the same as the send button. Then how do I move the sent items to the desired folder or folders based on the To: field?

1 solution

Hi,

Look at this Outlook 2007 add-in article

Outlook 2007 CPU Monitor AddIn[^]

To create a button you will see in the article that you can do it this way:

VB
// Create the button in the standard toolbar.
newButton = (Microsoft.Office.Core.CommandBarButton)
this.Application.ActiveExplorer().CommandBars["standard"].Controls.Add(
    Microsoft.Office.Core.MsoControlType.msoControlButton,
    missing, missing, missing, missing);


Good luck.

Valery.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900