I am planning to develop an AddIn for MS Outlook 2010. This addin will place a control next to Search Textbox in outlook. But I don't know how to achieve this. I searched a lot but found addins for Ribbon/Pane. Any pointer would really helpful for me.
My Environment: VS2012 Ultimate, MS Outlook 2010, C#
You can't explicitly customize that area. A VSTO Task Pane or Add-in Express Form Region could give you some alternatives. Otherwise, you'd need to use the Win32 API and do some window subclassing to paint a control there, as per the technique used here:
Creating Adjacent Windows In Outlook in C++ for Visual Studio 2008
http://code.msdn.microsoft.com/OlAdjacentWindows/
Related
I want to know anybody knows if there is in VSTO a control or a way to create a popup like Quick Analysis that appears at the right-bottom of a given range:
I'm creating an Excel plugin in VS2013 with C#, the plugin should be compatible on Excel 2007, 2010 and 2013. If such control can only be created on the latest version of Excel (2013) that may not be an option for deploy. I´ve already created a traditional Windows form to do this, but I'll like to know if there are better ways to show new controls to the user, closer to where the action is occurring. Thanks!
Is there any way to create add-in for Outlook 2007/2003 in Visual Studio 2012 (C#)?
So far I found that it should be possible and I just need to remove references from build-in 2010 add-in. Also tried to download some packages for older VS without success. After many attempts, during adding .dll file to Outlook 2007, I am still receiving error, that it is not add-in for Outlook 2007.
After all, I doubt a lot that I can do some add-in for old Outlook 2003 if I am not able to do it for 2007. It would enough for this time to force 2007 add some add-in with only MessageBox on startup.
You can try to use this library NetOffice. I'm using it and is very good.
Even if it does not fits your needs you can dig a little in the code and try to understand how they do it. They have nice examples.
BTW, If you are using VS express edition you cannot develop Office add-ins without a library like NetOffice.
I have a VSTO 2010 Ribbon (Designer) which works in Outlook 2010.
My add-in also loads in Outlook 2007, I see a command bar that I have made and it does what I expect it to. For some reason the ribbons on the Read mail and New mail inspectors do not show up in Outlook 2007.
What am I missing that would prevent these from loading? From what I understand, as long as the Tab names match the ribbon controls file tab names in both 2007 and 2010 it should be fine?
Notes:
The add-in is for sure loading in outlook 2007
Works perfect in outlook 2010
Not talking about the ribbon in the main UI
I would prefer to just have the ribbon files like for outlook 2010 but I can do whatever as long as it works
If there is a duplicate question which solves my issue that would be great but I can't seem to find one that works
From what I know developing for multiple Office versions with VSTO can be a pain and is not directly supported by VSTO:
This of course is the advantage of using the old "shared add-in"
project types – you can build one add-in that targets all versions of
all Office apps that support COM add-ins (ie, 2000 onwards). The
question is, can you do something similar with VSTO add-ins? The
answer is "No, not in any supported way".
The answer can be found here:
http://blogs.msdn.com/b/andreww/archive/2007/06/15/can-you-build-one-add-in-for-multiple-versions-of-office.aspx
There are alternatives to VSTO for Office development, that help you develop for multiple versions: NetOffice, Addin Express.
I would like to add some features to the Outlook 2010 application.
Those features will include:
adding a button to the ribbon,
manipulating the calendar,
display Windows Form after the ribbon button is pressed.
I managed to find out that there are several ways to interfere with Outlook programmatically. They are: the object model, PIA, MAPI, and auxiliary APIs. (Source)
Which approach would you recommend to achieve the above requirements? I would like to use C#. Any tip on Outlook development is very welcome.
VSTO is probably the easiest way to do that, since it's got designer support in Visual Studio for working with the ribbon.
You can get started by using Create New Project in VS, and expanding the "Office" menu.
I want to add a custom menu in Word, and on clicking on the menu item , my application should execute.
I assume that because you mention menu, you are speaking of Word 2003. If you want to use C# for that, you may use VSTO (Visual Studio Tools for Office) to do that, using the older version, VSTO 2005 SE. I have never done that for Word, but I did for Excel, and I think there shouldn't be much of a difference there. You will have to use Visual Studio 2008 for this, though; I believe VSTO 2005 SE is no longer supported in VS 2010.
If you are targeting Word 2007 or higher, you would have to use the Ribbon instead, as the Menu is gone.