outlook-addin

User Control in Folder Home Page Doesn't Initialize

I am programming Outlook 2003 using Visual Studio 2008. Add-in uses embedded user control in folder's home page, exactly as it was recommended. Here is HTML code that is using: <html><head><style type="text/css">body{overflow: hidden}</style></head> <body rightmargin = '0' leftmargin ='0' topmargin ='0' bottommargin = '0' onload='OnBod...

How to create vertical seperator between controls on an outlook command bar?

I am creating an outlook 2003 addin which adds some dropdown and button on each mail item opened.I have created a command bar and have added the controls to that command bar . But if i look at the standard tool bar on mail message, each button is seperated by a vertical bar but in my tool bar there is no seperator. How can i create the v...

Why does a Form Region in Outlook 2007 Plugin keep a reference to the underlying object open?

I've created an empty Outlook 2007 Plugin Project in Visual Studio 2008 (SP1). Then I added a new Form Region (Contact type, Adjoined, otherwise defaults) and then I run the project. Outlook opens, I go to a contact change a couple of things, then click on the close button. Outlook asks if I want to save, I choose No. My understandin...

Get Exchange folder size using Redemption.dll fails when used from Outlook2007

I am using Redemption.dll (Version 4.7.0.1026- latest) in an Outook (2003/2007) Add-in where i need to retrieve the exchange mail box size. To get the folder size, I am using the function get_Fields(): foreach (RDOStore store in rdoSession.Stores) { int size = 0; if (store.StoreKind == TxStoreKind.skPrimaryExchangeMailbox) { /...

Is it possible to develop a chat plugin like Gtalk for outlook?

My company uses outlook as the email client and we login to an exchange server. Out address book (not individual contacts) has all the users connected to our company network. Our company dont have IM ;-( .. I am thinking about developing an outlook plugin like Gmail's Gtalk . is this possible(technically)? Or how difficult it is? Will ...

Outlook Add-in development issue

I am reading the book "Programming Applications for Microsoft Office Outlook : 2007". In the sample code.. private void Application_ItemContextMenuDisplay( Microsoft.Office.Core.CommandBar CommandBar, Microsoft.Office.Interop.Outlook.Selection Selection) { OutlookItem oItem = new OutlookItem(Selection[1]); //... } The...

Detecting AutoArchive Settings/Store in Outlook 2007

I want to write a simple Outlook 2007 AddIn that allows me to manually Auto-Archive mails. That is, I right-click a mail, select Auto-Archive and it gets moved into my Archive folder. Unfortunately, I do not seem to be able to detect which one is the Archive Storage. I know that Application.GetNamespace("MAPI").Stores is a list of all m...

Outlook 2007 DASL query tasks

Hi, I'm going crazy on this one. Basically I want to retrieve a task based on the EntryID of this task. so what I do is the following: Outlook.MAPIFolder outlookTasksFolder = Application.Session.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderTasks); string filter = String.Format("@SQL=\"urn:schemas:tasks:entryid\" like '%{0}%'", myEn...

C# VSTO Outlook 2007 / Sharepoint: AddIn wont save contact item

can somebody help: i have an AddIn which reads contacts from a Sharepoint Server. The user can load a contact and make some changes or create a new one. At his point, saving the item works well. The Form closes and the item is beeing transfered to Sharepoint. But if the user reopens the same contact again and trys to make a simple change...

How can I access mouse events in Outlook?

Is there any way I can access the mouse events in Outlook 2007? I know you can access the mouse events for a custom form region. However I would like to access the mouse events of an inspector. Thanks ...

Outlook 2003 Addons

I want to create a custom Addon/plugin for Outlook 2003, to support integrated functionality with a task management system. I am unable to find many good development resources for the same. Can someone please explain Outlook 2003 architecure and development of a plugin. Good links/resources are also welcome. ...

Outlook Add-In Where to save configuration, C#

Hi, I am developing a add-in for outlook using VS2008, C#. I am trying to figure out a way to allow user to specify some settings during the installation and use them in the add-in. seeking ways I don't have to write use registry. thanks in advance~ ...

How to add Outlook.TaskItems to already existing Outlook.Items?

Hi, I've looked all over the internet and could not find an answer for this one... Basically, what I want to do is to retrieve all the TaskItems from all the Tasks folders and put them into one single Outlook.Items list. I know how to look at all the folders and how to retrieve the tasks from these folders, but i don't know how to put t...

How to build in auto-updating for an outlook addin?

I'm building an outlook addin, and I was wondering if there was any standard way to have the addin update itself when we release new versions (or at least notify the user to visit our website and download/install the newest version)? The naive way I've been thinking about doing is just pinging our server every once in a while to check fo...

Problem installing Outlook 2007 AddIn on Vista

We are attempting to install an Outlook 2007 Visual Studio Tools for Office (VSTO) Addin for a client. The MSI file includes a custom action to set the necessary Caspol permissions. We are using Visual Studio 2005, VSTO 2005 SE and .NET 2.0. When they attempt to run the installer on a Vista machine (using an administrator account) it...

Does the SaveAs method in Microsoft.Office.Outlook.Interop have a maximum file size?

Is there some type of undocumented file size limit when using this method to save to a UNC path? http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook._mailitem.saveas.aspx I made an Outlook add-on that copies the currently selected email(s) to a network server. Works great until you try to save an email that has man...

Where is Outlook's save FileDialog?

I'm working on an Outlook add-in that requires the Office specific FileDialog to interoperate with a Sharepoint site; the common file dialog doesn't have the interoperability. I know that both Word and Excel have a get_fileDialog method under Globals.ThisAddIn.Application.Application, but Outlook doesn't seem to. How do I launch an Outlo...

Access text currently selected in outlook 2007.

I'd like to create C# outlook addin to automate a process of adding mail fragments as comments in my bug tracking system (Jira). To create the comment I need to extract currently selected text. I manage to do that in a tricky way for email window (following this article). But I didn't find any way to access the current selection in the ...

Outlook 2007 add-in - Problem using BeforeItemMove event

Hey, I am writing an Outlook 2007 addin. All I am doing is: private void ThisAddIn_Startup(object sender, System.EventArgs e) { Outlook.Folder root; //creates Spam folder if it dosen't exist if (!SpamFolderExist()) { CreateSpamFolder(); } root = (Outlook.Folder)t...

Is there a way to replace the Reading Pane with a VSTO CustomTaskBar in Outlook 2007?

I have a custom task pane I've made in VSTO for Outlook 2007, but it needs a fair amount of screen real estate to be functional. I'd like to just take over the place of the Reading Pane, as it won't really be needed when this addon is active. It's also a really great spot since this addon relies on drag-and-drop from mail folders to this...