add-in

Office Add-in Outlook API attach document using displayNewMessageForm method issue

依然范特西╮ 提交于 2019-12-22 00:08:30
问题 I'm working on office Add-in for Outlook. Need to open a new message with a pre-defined attachment. Trying to get an attachment from the current item (message) as below: Office.context.mailbox.item.attachments Here is an output (i get attachment type, id, size and so on): Then I'm trying to attach this file to a new message in Outlook via add-in outlook API, here is an example from Office Developer that I use to attach the file I just get from the other email (like 'forward' functionality):

Can IoC and the Managed AddIn Framework (System.AddIn) work together with isolated AppDomains?

孤街浪徒 提交于 2019-12-21 20:59:09
问题 If I use Managed AddIn Framework (System.AddIn) and set it up to use separate AppDomains, can I use a centralized IoC container that is in the primary/default AppDomain? Can the IoC container resolve across the AppDomains? 回答1: I'm going to approach this answer by ignoring the MAF part of the equation, and concentrating on the AppDomain issue. An IoC container could theoretically do what you describe, assuming that the IoC entry point inherits from MarshalByRefObject or is wrapped by a class

Add-ins do not show up under 'Admin Managed' after deploying them to the Office 365 Admin Centre

自闭症网瘾萝莉.ら 提交于 2019-12-21 17:53:40
问题 After deploying a Word Add-in via centralised deployment, it doesn't show up in Word. We used this procedure to deploy the add-in and it lists it there succesfully. Because we were worried it may be due to something wonky with our own plugin, we then decided to try to deploy the 'Contoso Citations' plugin which is used in the same procedure and screenshots here. After capturing traffic whenever we press 'Update' under the Add-in Admin Managed dialog, we noticed a connection to Exchange. We

What add-in/workbench framework is the best .NET alternative to Eclipse RCP?

萝らか妹 提交于 2019-12-21 12:35:56
问题 I'm looking for a plugin-based application framework that is comparable to the Eclipse Plugin Framework, which to my simple mind consists of: a core plugin management framework (Equinox / OSGI), which provides the ability to declare extension endpoints and then discover and load plugins that service those endpoints. (this is different than Dependency Injection, but admittedly the difference is subtle - configuration is highly de-centralized, there are versioning concerns, it might involve an

“preprocess current file” addin for Visual Studio? (C++ )

一个人想着一个人 提交于 2019-12-21 10:55:13
问题 I realize that Visual Studio has the "/P" option to generate preprocessed files, but it's extremely inconvenient. I'm looking for an addin that allows you to right-click on a file and select "view preprocessed" - or any similar solution that would basically preprocess the currently-open file (with the appropriate options from the current configuration) and show me the output, with no extra hassle. Does such a thing exist? 回答1: There's no really elegant way of doing this using the External

MS Word Add-in: RIght click handler

元气小坏坏 提交于 2019-12-21 05:35:22
问题 I am developing an Add-in for MS Word 2010 and I want to add a couple of menu items to the right click menu (only when some text is selected). I have seen a couple of examples to add items but couldn't find how to add items conditionally. In short I want to override something like OnRightClick handler. Thanks in advance. 回答1: This is quite simple, you need to handle the WindowBeforeRightClick event. Inside the event locate the required command bar and the specfic control and handle either the

Office add-in ribbons: same tab with 2 addins

最后都变了- 提交于 2019-12-21 04:21:20
问题 I'm trying to make two word add-ins' groups to appear in the same tab (Tools) but they both create unique tabs (there's two 'Tools' tabs). I saw this video but I'm using the Visual Designer, not XML. Can I edit the designer code in some way to make this work? 回答1: http://blogs.msdn.com/b/vsto/archive/2008/03/10/share-a-ribbon-customization-between-office-applications.aspx Office 2007 Create the Ribbon Create a 2007 Excel, Outlook, PowerPoint, or Word project in Visual Studio. For the purpose

XLL Excel addin in unmanaged C++

不打扰是莪最后的温柔 提交于 2019-12-21 03:44:57
问题 I have a few mathematical simulations in unmanaged C++ and now I need to integrate them with Excel (so that it is possible to call the functions from Excel and get the values back). I don't want to use any VBA, so I guess I have to implement an XLL addin. I would like to use as few third party additional frameworks as possible. Could someone point me to a good tutorial? 回答1: Starting out with the SDK can be a bit unpleasant. I'd suggest you try one of the toolkits: XLW (http://xlw.sourceforge

problem with trying to create ssms add-in

江枫思渺然 提交于 2019-12-21 02:50:12
问题 I'm trying to create an add-in for SSMS 2008 and/or 2008 R2 but I've run into a problem straight away. I can get my add-in to work and on SSMS start-up get it to simply show a message box. However, after downloading various code-samples, when trying to reference Microsoft.SqlServer.Management.UI.VSIntegration.ServiceCache I get a null reference exception: Commands2 commands = (Commands2)ServiceCache.ExtensibilityModel.Commands; I get this problem when using SSMS 2008 or SSMS 2008 R2. I'm

Creating a 'Custom Designer' Visual Studio 2010 Add-in

柔情痞子 提交于 2019-12-20 18:38:28
问题 A major part of our work is creating and manipulating certain XML files, for which have a custom editor. The editor is starting to get creaky and we are looking at building a replacement. Since VS2010 has recently arrived, ostensibly with an improved add-in architecture (MEF?), I am interested in the possibility of building the editor as a custom editor within Visual Studio . It would have to appear in the same way as the code editor or the Designer - a tab item, of which there can be many