Example
- Open Visual Studio
![enter image description here](https://i.stack.imgur.com/OZ8Rj.png)
- Select File --> New --> Project menu or push Ctrl + Shift + N buttons
![enter image description here](https://i.stack.imgur.com/7eXNx.png)
-
Select Outlook VSTO Add-in template
![enter image description here](https://i.stack.imgur.com/K4l4D.png)
-
Add the following code to the project:
private void ThisAddIn_Startup(object sender, System.EventArgs e)
{
MessageBox.Show("Hello world");
}
- Run the program
![enter image description here](https://i.stack.imgur.com/p6VPy.png)