title: Simple Outlook 2007 (or newer) plugin / addin with VS 2010 Express
body: <p>I'm stuck.  I have been trying to find, or create myself, a simple barebone example of how to create an Outlook plugin for VS 2010 Express.  I know this is simpler to do in VS 2010 Pro, however, is it really impossible to do this in the express version?</p>
  
  <p>My goal is to get "get control", like show a messagebox or similar, when a user hits the "Sendbutton" in Outlook.</p>
  
  <p>I have been trying to play with the Microsoft.Office.Interop.Outlook; Microsoft.Office.Core; without much luck.</p>
  
  <p>Does anybody have a simple example, which runs on the express version?</p>
  
  <p>Some nonfunctional code I was playing with:</p>
  
  <pre><code>using 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;
  using System.Windows.Media;
  using System.Windows.Media.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;
      /// Interaction logic for MainWindow.xaml
      /// &lt;/summary&gt;
      public partial class MainWindow : Window
      {
          public MainWindow()
          {
              InitializeComponent();
  
          }
  
          public delegate void ApplicationEvents_11_ItemSendEventHandler(object Item, ref bool Cancel);
  
          public void MyItemSendEventHandler(object Item, ref bool Cancel)
          {
  
          }
  
          private void InternalStartup()
          {
              this.Startup += new System.EventHandler(ThisAddIn_Startup);
              this.Shutdown += new System.EventHandler(ThisAddIn_Shutdown);
          }
      }
  
  }
  </code></pre>