ThisAddIn_ShutDown doesn't execute

后端 未结 2 519
清酒与你
清酒与你 2020-12-21 03:04

In my add-in for Outlook, I have the following lines.

private void ThisAddIn_Startup(object sender, System.EventArgs e)
{
  MessageBox.Show(\"Hazaa!\");              


        
2条回答
  •  臣服心动
    2020-12-21 03:23

    If you are using Outlook 2010 you can ask Outlook to inform your plugin when it is shutting down.

    [RequireShutdownNotification]=dword:0x1
    

    The Key has to be placed in the Registry Folder of your Plugin

提交回复
热议问题