outlook-addin

Get the email address of the current user in Outlook 2007

主宰稳场 提交于 2019-11-29 05:34:20
I have an Outlook add in written in C#. I was wondering how or if I could get the email address of the current user? Thanks Use Namespace.CurrentUser : http://msdn.microsoft.com/en-us/library/bb220041(v=office.12).aspx Tested in VS 2010, .NET 4.0, Outlook 2010: var emailAddress = this.Application.ActiveExplorer().Session.CurrentUser.AddressEntry.GetExchangeUser().PrimarySmtpAddress; Depends on the definition of "the current user address". The address of the primary account in Outlook can be retrieved from Appication.Session.CurrentUser (returns Recipient object). Use Recipient.Address property

VSTO - Is it possible to have both designer and XML ribbons?

蹲街弑〆低调 提交于 2019-11-29 04:11:48
I'm working on an Outlook 2010 add-in that has multiple ribbons created with the Visual Studio 2010 ribbon designer. I've made an additional XML ribbon (I needed to override the default behavior of some built in ribbon buttons, which can't be done with the designer). Enabling the XML ribbon disables all the designer ribbons because I have to override CreateRibbonExtensibilityObject (ContactButtonOverrides is my XML ribbon): protected override Microsoft.Office.Core.IRibbonExtensibility CreateRibbonExtensibilityObject() { return new ContactButtonOverrides(); } The base class implementation I'm

Outlook addin Home tab with custom button

北战南征 提交于 2019-11-29 03:27:21
问题 Hey all I am trying to create a button within the default Home tab in Outlook 2010. Problem being is that, in VS2013 I added a Ribbon (visual) and added the group with the button but it keeps adding that to the TabAddIns tab. What do I need to set in order for that custom group/button to display in the Home tab instead of making its own tab? Thanks! 回答1: Got it! Using this link here is was able to figure out that the Home tab was called TabMail . And following these directions: A built-in tab

Outlook Add-In tutorial? [closed]

笑着哭i 提交于 2019-11-28 19:19:18
Does anyone know of a good example for getting started with Outlook add-ins using C#? Brij There are two ways to create such an add-in in VS 2008: Managed Add-in (File > New Project > Office > Outlook 2007 Add-in) Shared Add-in (File > New Project > Other Project Types > EXtensibility > Shared Add-in) For Managed Add-in: Getting Started (Office Development in Visual Studio) An example of a Shared Add-in: Creating Custom Task Panes as COM Add-Ins For comparison: Visual Studio Add-ins Versus Shared Add-ins Shared Add-in vs. VSTO Add-in: What's the difference between/how can I tell if I'm

Access to Outlook RestAPI from an Outlook web Add-in

时光总嘲笑我的痴心妄想 提交于 2019-11-28 13:45:23
I developed an Outlook Web Add-in that is working fine. It's a Taskpane that is available in compose mode of appointments and that collects event's data, adds a few ones and send that all to an API somewhere. What I would like to do now is to subscribe the authenticated user to the Outlook Rest API in order to get notified when the event is deleted. The subscription call should look like this one: POST https://outlook.office.com/api/v2.0/me/subscriptions HTTP/1.1 Content-Type: application/json { @odata.type:"#Microsoft.OutlookServices.PushSubscription", Resource: "https://outlook.office.com

outlook 2010 add-in build custom WebViewPane without add-in Express

两盒软妹~` 提交于 2019-11-28 12:41:48
Is it possibile to create a custom control in outlook which can be placed in the middle of an application? I mean sommething like this: I know it could be done with the WebViewPane with Add-in Express but can it be achived without buying this product? Maybe someone has seen some articles about writing sommething like that? As far as I know this feature is not supported by Outlook API. Products as Add-In Express, btw, can do it by using unofficial and unsupported hooks. There is a project here that you can look at in order to do the same by yourself. It is an open source project from Microsoft

Cleaning office add-in cache

只愿长相守 提交于 2019-11-28 12:37:35
I have taken over a previously written office add-in with yeoman. I have been changing settings and else but after the initial install to see how far it has gone I believe my outlook client has stored some kind of cache. When I try to install the updated version it still holds the logos and settings for the previous version but when install it on a system which did not have a previous version of it its all good. Any suggestions help. I have tried deleting my local profile file and recreate it by relaunching outlook but that does not seem to have effect on the whole process. Thanks EDIT: I am

outlook add-in image & files

柔情痞子 提交于 2019-11-28 11:45:01
问题 I try to find solution to my problems but didn't find any where,hope that someone here can save me. I write add-in in JavaScript on VS2015 that encrypte and decrypte body messages. 1. The first problem is with images that the receiver can't see . (Talk about images that copy into the body by "insert picture inline" button) In Compose mode we encrypte the message and then when we decrypte it's works good because the compose mode is a client side and he his recognize the local images . In read

Why Outlook's RoamingSettings object initialized with old values after page re-load/ redirect?

梦想的初衷 提交于 2019-11-28 10:28:10
Precondition: Simple Outlook add-in with one (reload case) or two HTML pages (redirect case). Office.initialize called before any objects access Use RoamingSettings object as per documentation: How to save settings in the user's mailbox for Outlook add-ins as roaming settings Coding: // The Office initialize function must be run each time a new page is loaded Office.initialize = function (reason) { $(document).ready(function () { app.initialize(); var settings = Office.context.roamingSettings; // Get the current value of the 'myKey' setting // let's assume it was set and stored with value

How to share user roaming settings between Outlook COM/VSTO and Office JS Add-in

女生的网名这么多〃 提交于 2019-11-28 09:31:37
Is it possible to share user’s roaming settings and preferences between COM/VSTO Outlook and Office JS Add-ins? Slava Ivanov Scope The following article covers an approach for developers to make a bridge between COM/VSTO Outlook Add-in and Office JS Add-ins to share user’s roaming settings and preferences. Introduction There are plenty of companies who deliver reach experience to their customers through COM/VSTO Outlook Add-ins for ages and Outlook 2000 to the latest version support is normal for them. With maturity of the Microsoft Office Store and technology behind Office JS Add-ins more and