c# - Simple Outlook 2007 (or newer) plugin / addin with VS 2010 Express -
I'm stuck I can learn how to prepare an Outlook plugin for VS 2010 Express or myself I am trying to make I know that it's easy to do in VS 2010 Pro, however, is it really impossible to do this in the published version?
My goal is to get "control", such as a message box or similar, when a user hits "Sendbutton" in Outlook.
I am trying to play with Microsoft.Office.Interop.Outlook; Microsoft.Office.Core; Without any luck
Is there any simple example of someone who runs on the released version?
Some non-functional code that I was playing with:
using the system; Using System.Collections.Generic; Using System.Linq; Using System.Text; Using System.Windows; Using System.Windows.Controls; Using System.Windows.Data; Using System.Windows.Documents; Using System.Windows.Input; System.Windows.Media; System.Windows.Media Using imaging; Using System.Windows.Navigation; Using System.Windows.Shapes; Using Outlook = Microsoft.Office.Interop.Outlook; Using Office = Microsoft.Office.Core; Namespace WpfApplication1 {/// & lt; Summary & gt; /// MainWindow.xaml for Interaction Logic /// & lt; / Summary & gt; Public Partial Class Main Window: Window {Public Main Window () {Initial Group (); } Public Representative Zero Application Events 1 1_ItemSendEventHandler (object items, cancel riff bills); Public Zero MyItemSendEventHandler (object items, cancel riff hair) {} Private Zero Internal Startup () {this.startup + = New System.EventHandler (ThisAddIn_Startup); this. Shut down + = new system. Anant Handler (This Eddyne_Shutdown); }}}}
You have to go, works perfectly with Express Studio Has tried 2010 and 2012.
Comments
Post a Comment