vsto

Is there a list of IDs for the Outlook MAPI namespace?

I'm working on an Outlook add-in and I'm looking for a complete list that relates that MAPI properties to there names that is a little less vague than this. There is plenty of documentation on how to access those properties, but I'm not having much luck finding anything that tells me what any of the properties are. P.S. I've seen this...

Tab order VSTO Excel

I'm looking through some VSTO excel code and there seems to be a major wheel reinvention swtich statement in an event handler which is attached to every control (text boxes, combos etc), calling Focus() depending on the Tag property (being used in place of a tabIndex property) Is tab order alien to VSTO? ...

VSTO Programmatically adding a new worksheet based on an existing one.

Hi All, I currently have a C# Workbook-level Office 2007 Addin that has a Worksheet added at design-time where I have added methods and properties to the Worksheet derived class. I want to be able to programatically make a new worksheet that clones, inherits or otherwise possesses the methods and event handlers of this existing Worksh...

How to get measure groups from Excel Pivot Table?

I have an OLAP pivot table in Excel and I'd like to get the list of measure groups (in the Pivot Table Field List, these are the things with the large summation symbol next to them). I'm using VSTO and Excel 2007 for this. I would have thought they'd be listed under PivotTable.CubeFields. This list does contain the actual measures, ...

VSTO in Excel: The customization does not have the required permissions to execute.

At the very beginning. Created a new Excel Workbook from VS2005. Try to save it? Cannot access the .xls file. Try to run it? same error, plus the customization permissions error in the title. Where do I set the permission? EDIT I've read a few SO questions and answers around this and it all seems terribly over-complicated. Give me...

VSTO - Add custom task to a Send and Receive group

I am writing an Outlook addin. I am using VS2008 and my customer is using MS Office 2003. It is a synchronization addin I am writing, and I couldn't create my own scheduler running next to the send and receive job in outlook, but mostly I would like to add my sync-job to these tasks in the Send and Receive group. I have tried to look a...

How to can I upgrade my Outlook 2007 VSTO addin to a new version

I created a setup project (not ClickOnce) for VSTO addin for Outlook. I installed setup.exe. Then I build the setup project with increased version, and I installed this version. In Add/Remove programs I see the latest version, but in Outlook I see the previous version of the addin. How can I upgrade the addin in Outlook? Thanks ...

Word Add-In CustomizationContext - how to set it to Add-In itself

When Word Add-In adds some context menu it is expected to set CustomizationContext (otherwise Normal.dot is affected). There are multiple options to what can be a CustomizationContext. And as the following article states it can be Add-In itself - just scroll to the following list bullet: A component object model (COM) add-in, also k...

Re-signing app during install vsto

I have created a fairly simple Outlook AddIn and during the install I need the users to enter a couple of configuration settings. The problem I have is when it comes to the install I get an error saying that the computed hash in the manifest doesn't match (basically because I have changed some of the settings from when the dll was first ...

How to get the screen position of an active workbook?

I would center a form in an ActiveWorkbook, how to get the screen/window position of the workbook? ...

VSTO Outlook Add In Problem

I am running into problems with an Outlook Add In I created. Somehow Outlook doesn't shut down properly. I've seen all the postings about using ReleaseComObject and such. ==== UPDATE ==== I tried the whole thing again, creating a new empty project in a new solution and now, after some time after shutting down Outlook the following Erro...

How to upgarde VSTO Excel addin 2003

Upgrade is available for Excel 2003 addin? Is the ClickOnce manifest feature is avalibale with VSTO Excel 2003 addin? I am working on VSTO Excel addin 2003 and I have published the addin using set and deployment project into one location. Now I am looking for , which will upgrade my addin automatically when the excel is in the startup m...

Is it possible to add controls to the Existing reading pane in the Outlook?

I know a lot of ways how to extend Outlook and add new Reading Panes and Inspectors to the Outlook, but what really bugs me is how to extend and modify the existing reading panes? I'd like to add more information on these panes without recreating them from scratch. ...

Find out what outlook items are opened?

Under MS exchange system manager, you can see current logons for an store (in my case a public store). You can add a column called "Open Messages". Is there any way to tell what these are? from the server (exchange end) or the client (outlook)? I need to find out as my VSTO outlook add-in as a hook on this item and i need to remove it. ...

How to automate the testing of Outlook Add-In?

I have an Outlook Addin developed in C#,VSTO and has a lot of unstructured code and very huge in size. every time there is a modification / Update ,I have to Manually test it from end to end which is very painful and time consuming. This add in has a lot of rules whch pops up alert / dialog box and user has to take some actions on that. ...

Check and register Outlook as a default mail client programatically

I'm developing a VSTO add-in for outlook. One part of this addin is a welcome screen that appears after first launch and on this screen I want to check if Outlook is a default mail client and if it's not provide users with the ability to set it as a default client. I know this can be done in Outlook's Tools/Options menu but I really woul...

How to develop an outlook 2007 custom action?

I need a custom outlook rule action: "Save the email attachments to DB", for this action the attachments in that email will be automatically saved to DB. I find a topic at MSDN Outlook 2007 Sample Add-ins: Rules Add-in, Travel Agency Add-in, and Prepare for Meeting Add-in but this topic does not show how to develop a custom action. Out...

Programmatically generating Excel workbook with pivots and charts

I need to create a workbook which has a raw data on a sheet and a pivot table on another sheet. The pivot is created from the raw data. Then I need to create a chart with this pivot on the same or new sheet. How can I do this in C# - and is this possible using VSTO? ...

Outlook 2007 AddIn cannot move, or delete MailItem from Drafts folder

I have tried many permutations of the same code, and always with the same result - the Outlook 2007 AddIn seems to be unable to remove the MailItem from the drafts folder - so a 'move' operation actually becomes a 'copy', and a 'delete' operation does nothing. (Note: The AddIn was responsible for creating the item in the Drafts folder i...

Is there a future for PowerPoint VBA/VSTO?

Does anyone know what the future holds for VBA/VSTO programming in PowerPoint? I've been working on a Office automation project and find it frustrating to work with PowerPoint in particular since it seems to be one level below VBA support found in Excel or Word. It feels like MS is trying to phase out support for VBA in PowerPointsinc...