2010-07-28 3 views
2

막혔습니다. 나는 VS 2010 Express 용 Outlook 플러그인을 만드는 방법에 대한 간단한 예를 찾아 보거나 스스로를 만들려고 노력해 왔습니다. VS 2010 Pro에서이 작업이 더 간단하다는 것을 알고 있지만, 익스프레스 버전에서는이 작업을 수행하는 것이 실제로 불가능합니까?VS 2010 Express의 간단한 Outlook 2007 (또는 최신 버전) 플러그인/추가 기능

내 목표는 사용자가 Outlook에서 "보내기 버튼"을 눌렀을 때 메시지 상자 또는 유사한 메시지 표시와 같이 "제어권 가져 오기"를 얻는 것입니다.

나는 Microsoft.Office.Interop.Outlook; Microsoft.Office.Core; 운이 많이없이.

누구나 간단한 예제가 있습니까? 익스프레스 버전에서 실행됩니까?

내가 놀고 있었는데 일부 작동하지 않는 코드 :

당신은 NetOffice 갈 필요가
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 
{ 
    /// <summary> 
    /// Interaction logic for MainWindow.xaml 
    /// </summary> 
    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); 
     } 
    } 

} 

답변

관련 문제