an
saurus
tags:
outlook-2007
outlook-addin
vsto
views:
88
answers:
1
Q:
VSTO Outlook 2007 Add-in Context Menu CommandBarButton click event
+1
A:
You can use tag property inside the CommandBarButton
Avram
2010-09-25 09:03:00
This isn't the "best" possible way I was hoping for, but it works. I'm setting the Tag property to the EntryId of the mail item then in the click handler I'm getting that item back from the Application.Session. Thanks.
Adam
2010-09-27 19:49:52
related questions
How to I attach to a VSTO Excel Application Process to Debug?
How to tell if Excel Application is in cell-edit mode?
Iterate through a contacts properties using outlook
Iterate through properties in outlook using reflection
Outlook VSTO not firing on NewMailEx event?
Export pictures in Microsoft Word to TIFF
.Net Localization problem
Create a new Word Document using VSTO
Restore Office Environment to Default after development
How to create Excel 2003 UDF with a C# Excel add-in using vsto 2005 SE
Expose VSTO functionality to VBA w/o local admin
Use VBA in Office 2007 Applications?
VSTO Excel 2007 PivotTable, having a PivotField in more than one column
How to verify existence of a table with a given ID in a word doc in C# VSTO 3
Which IDE should I use for developing custom code for InfoPath Forms, VSTA or VSTO?
Deploying VSTO Project to Server
How to iterate through all the cells in Excel VBA or VSTO 2005
Best practice for passing parameters in Microsoft Visual Studio Tools for Office (VSTO) 3 (C#)
How Do I detect Text and Cursor position changes in Word using VSTO
Exposing .net methods as Excel functions?
Options for PivotTables in Excel
SpecialCells in VSTO
How do I read/write Person metadata from a Word doc stored in SharePoint using VBA or VSTO?
.NET - Excel ListObject autosizing on databind
Office VSTO Word 2003 project keeps trying to autoconvert to 2007