Microsoft Office Tutorials and References
In Depth Information
Visio 2007 object model
4. In the ThisAddIn.cs file, write the following program to say Hello World
to the Microsoft Office Visio users. Add the using System.Windows.Forms
namespace for the message box window.
private void ThisAddIn_Startup(object sender, System.EventArgs e)
// Message box to display information from Visio
MessageBox.Show("Say Hello World!");
As it can be seen in the following screenshot, Say Hello World is displayed in a
message box:
Visio 2007 object model
Visio applications are fully supported by Visual Studio Tools for Office, and work
with the objects model by using managed code. Using Visual Studio 2008, you have
the full control necessary to develop custom solutions for Visio 2007 with the help of
VSTO add-ins and project templates.
Search JabSto ::

Custom Search