vsto

How to import or create an Outlook 2003 rule (.rwz) with VSTO 2005?

I would like to automatically create an Outlook rule (move email containing something in subject to folder xyz) but dont know how to achieve this. Of course I can create the rule and export it to a .rwz file. This file can be imported manually, but how can I import it automatically? Can I import a rule through my VSTO 2005 Outlook (2003...

Will VSTO add-ins developed for Office 2007 work in Office 2010?

Are the VSTO add-ins that were developed for Office 2007 compatible with Office 2010? If not, what would need to be done to upgrade them to run in 2010? ...

How can I make Single Installer for my Different version of Office Addin.

Hello, Any one knows how can I make an Installer Common for the both office 2003 / 2007 plugin. Installer should automatically select the appropriate Office Version (2003/2007), depends on which Office is installed. I'm using VS2008, Extensibility - Shared Addin, for my Office Plugin. I have 2 Projects for 2003 and 2007, I want to make...

how to register my dll in excel 2007

hi i have a created an Excel Add in(which creates a new ribbon for excel 2007) using vs2008-vsto-c# and also created a setup project... i install the setup project on other machine, then go to the installed folder, where i see all .dll files, including my project name .dll, let's say ExcelAddIn.dll please can you tell me what should i d...

Creating outlook item with custom Message Class IPM.CustomClass

I am using VSTO 3.0 for outlook2003 addin. Is it possible to create an item with custom Message Class IPM.CustomClass. The following article mentions about form configuration files to create custom item IPM.Help. Is it possible to create a custom Outlook Form and register it against custom message class. BTW it is possible to create an...

VSTO Menu for Outlook and Word

Hi, I created an add in for MS Word 2003 in VSTO. I added a new menu and also an intercept before a document is saved. When I checked in MS Outlook, the menu is add in there and it also intercept the saved function. How do I prevent my Word add in from included into Outlook? ...

how to access the localized names of an outlook contact items property

does anyone know a way to access the localized names of an outlook contact items property collection? If i loop through the properties collection for (int i = 0; i < item.ItemProperties.Count; i++) { if (item.ItemProperties[i].Type == Microsoft.Office.Interop.Outlook.OlUserPropertyType.olText) { string s = item.ItemProperties[i].Name...

My Outlook add in not loaded

Hi everybody, I have Two client vista machines with the same security configuration. I build my project on my developpement machine then copy ".exe" and try to install it on the first client machine. I have got a weird 2869 error message and installation process stopped. In the second machine , I installed my add in with no problem but...

Manipulating excel 2007 chart grid lines in VBA

Using Excel 2007, is it possible to change the transparency of chart grid lines using VBA or VB.NET? I have the following code, which throws an exception on the last line: Dim axis As Excel.Axis = chart.Axes(Excel.XlAxisType.xlCategory) axis.HasMajorGridlines = True axis.MajorGridlines.Border.Color = Color.Gray.ToArgb axis.MajorGridlin...

How to programmatically add image button in Excel 2007?

In a vsto project, how to add an image button to a worksheet with managed code? ...

Convert Number to Corresponding Excel Column

Hi, I need some help in doing a logic that would convert a numeric value to corresponding MS Excel header value. For example: 1 = "A" 2 = "B" 3 = "C" 4 = "D" 5 = "E" ......... 25 = "Y" 26 = "Z" 27 = "AA" 28 = "AB" 29 = "AC" 30 = "AD" ......... Would appreciate some .NET codes (C# or VB) for this. Thanks. ...

Recommended Books & Resources for VSTO

What are some good books and resources for an in depth look into VSTO? ...

Outlook MailItem: How to distinguish whether mail is incoming or outgoing?

Hi, I am writing VSTO Outlook addin in C#, and I need to distinguish, whether given MailItem is incoming or outgoing (or neither, when it is for example a draft). Is there some foolproof way to do this? Best solution I have now would be getting a list of recipients, cc's, and bcc's, loading email adresses from active accounts, and chec...

How to add a referenced assembly to the deployment of a VSTO project?

I have written a few Excel 2003/2007 add-ins using VSTO, and I usually end up referencing .NET dll's in the VSTO project (usually code I reuse across projects). I ran into the following issue. While the calls to the dll work perfectly in debug mode or on the development machine, when I deploy the add-in through a msi installer, the dll i...

Meeting creation addin for outlook with C#

I need to create an outlook addin that will do the things I listed below before sending a meeting request: Check how many users are in the To list, warn if there are more than predefined number of users Warn if subject line is empty Warn if word "attachment" is used in mail body but no attachments can be found in the mail Is it possi...

VSTO + Security + deployment + SIMPLE?

I've created a simple VSTO excel code behind document that I want to deploy for a demo. I've started to look at all the documentation which seems to spiral forever and ever into more links. Can anyone advise on a quick, simple, straightforward tutorial on how to deploy a VSTO excel doc to an end user with full trust? ...

Call methods written in C# in Excel 2007 from cell formulas

I am using Excel 2007. I have C# code written in a separate binary. The code uses static classes and static methods on the classes. I have a reference to the DLL in my VSTO Excel Worksheet project. What do I have to add or modify to get this to work? My C# code looks like this: using System; using System.Collections.Generic; using Micr...

ClickOnce error after delpoying -- has a different computed hash than specified in manifest.

Afer deploying my VSTO add-in with ClickOnce, I get the following error mesasge when trying to launch setup.exe: File, Addin.resources.dll, has a different computed hash than specified in manifest. Why is this happening? What can I do to fix this? ...

My VSTO 3.0 Outlook addin doesn't load

I'm trying to diagnose why my Outlook plugin written in C#/VSTO 3.0/VS 2008 doesn't load after being installed. The plugin works awesomely on my development machine, which has Visual Studio 2008 installed. I can't expect all my users to have all the prerequisites though so I went through these steps to write an installer: http://msdn.m...

Outlook 2003 plug-in Rich Text Box not receiving certain keystrokes

Hi, I've developed an Outlook 2003 plug-in that attaches itself to a message compose window. It's a VSTO plug-in written in C# on .Net 3.0 using VS 2008. Visually, the plug-in adds an extra rich text box and a few other controls(mostly text formatting for the Rich Text Box) to the bottom of the Outlook compose window. The issue th...