add-in

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

扶醉桌前 提交于 2019-12-04 17:48:16
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): Office.context.mailbox.displayNewMessageForm( { toRecipients: Office.context.mailbox.item.to, // Copy

Is there any way to change the taskbar icon of a browser in windows?

十年热恋 提交于 2019-12-04 17:10:53
Is there any way to change the taskbar icon of a browser in windows? I open alot of browser windows, and I like to group similar websites (in tabs) by window. So I was wondering if there was a way to assign a taskbar icon to them so that you can more easily differentiate between them. Here's something I put together in under 5 minutes to change the icon on a specific window. You could easily use this code to create a winform that would enumerate the currently open windows and allow you to assign arbitrary icons to them. (C# code below) [DllImport("user32.dll", CharSet=CharSet.Auto)] public

A Scrollable MessageBox in C#

跟風遠走 提交于 2019-12-04 13:31:05
问题 I use Addin in VS2008, C#, and I need show messages (error messages and others). I don't know the length of messages, and therefore I want use Scrollable MessageBox. I have found this article from 2007 year: By Mike Gold July 30, 2007 http://www.c-sharpcorner.com/UploadFile/mgold/ScrollableMessageBox07292007223713PM/ScrollableMessageBox.aspx now, in 2011 any another good components ?? I want evaluate several components about it. Update: another component but older: MessageBoxExLib http://www

Best practices for implementing an addin/addon/plugin strategy

烈酒焚心 提交于 2019-12-04 12:48:28
问题 My application should be extensible. For my own needs I have implement some services. These services are based on the IoC/DI princple. So the services encapsulate the concept of the application. For exsample, there are an IApplicationService. The ApplicationService exposes information about the current exceuting application. There are specified the AssemblyInfo and so forth. An other exsample is the INavigationService(see mef.codeplexcom in the samples). This services provides some properties

Programatically Install Microsoft Access Add-In Using VBA

天涯浪子 提交于 2019-12-04 12:35:37
Finding information on Add-In development for Microsoft Access is like getting all of your teeth pulled! Yes I've found the couple Managed Add-In Articles written... but could find next to nothing for Un-Managed Add-Ins. I did find one great article which is very old in creating basically an unmanaged .mda project... which I've followed and created a add-in. Now I would like an automated way to deploy this add-in. I've seen it done from VBA with such tools as Rick Fisher's Find and Replace add-in tool... but can not find a way to do this programatically in Access. I have found lot's and lot's

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

守給你的承諾、 提交于 2019-12-04 12:13: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? 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 that in turn inherits from MarshalByRefObject. With a 29K+ rep score, I am sure you know this but: 1)

Calling a procedure within another class

做~自己de王妃 提交于 2019-12-04 12:03:37
I've created an add-in for outlook 2010. I have a ribbon that has a button on it. When you click that button, I want it to call a procedure in the ThisAddIn.vb. There are two files: ThisAddin.vb and Ribbon.vb. I've tried several things to no avail. I've also set all the procedures to public. Call Testing123() Call ThisAddIn.Testing123() Etc How do I properly call this procedure? ****Ribbon1.vb**** Imports Microsoft.Office.Tools.Ribbon Public Class MyOutlookTab Public Sub Button1_Click(ByVal sender As System.Object, ByVal e As Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs) Handles

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

时光毁灭记忆、已成空白 提交于 2019-12-04 10:22:05
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 then captured the traffic using a proxy and some root certificates, and we found the following call:

How do you package a VSTO Word addin for deployment (to Office 32 bit) using WIX?

回眸只為那壹抹淺笑 提交于 2019-12-04 09:48:13
问题 I developed a VSTO Word add in in VS 2017 Pro. Works fine, ready to deploy. However, I cannot find a working procedure for packaging my VSTO Word add in for use on machines other than my development machine. For any particular machine , I need to deploy it once and have it available for any user who may login using their account. First came across this, but it involves using InstallShield Limited Edition which, apparently is no longer available for VS 2017. Tried this but it a few of its

Adding my DLL into a Visual Studio project in C++

て烟熏妆下的殇ゞ 提交于 2019-12-04 09:34:25
问题 I am working on a project that involves making a dynamic link library, so I want to test it in a console app in Visual Studio. The DLL is also made in Visual Studio, it doesn't have much, just a few functions in it. I'm not sure if I'm just supposed to include the librarys header in the include directories panel in Properties , or do something else A lot of people say I'm supposed to add its corresponding .lib file in the Library or Reference directory, but I'm not sure that VS generates a