word 2003 addin RRS feed

  • Question

  • hi

    i am newly using visual studio new project office select 2003

    and in that windows 2003 add in selecting the type of project

    i got like this code

    public partial class ThisAddIn


            private void ThisAddIn_Startup(object sender, System.EventArgs e)




            private void ThisAddIn_Shutdown(object sender, System.EventArgs e)




            #region VSTO generated code


            /// <summary>

            /// Required method for Designer support - do not modify

            /// the contents of this method with the code editor.

            /// </summary>

            private void InternalStartup()


                this.Startup += new System.EventHandler(ThisAddIn_Startup);

                this.Shutdown += new System.EventHandler(ThisAddIn_Shutdown);





    i want where i have to write the code

    can u plz say some sample code add two numbers like tat ex code can u help me 


    • Moved by Martin_Xie Friday, December 30, 2011 10:43 AM Move it to VSTO Forum for better support. (From:Visual C# General)
    Thursday, December 29, 2011 7:54 PM


  • Hi John Paul

    There's an entire section on MSDN devoted to VSTO documentation. Since you mention Word 2003 I'm going to assume you're working with VS 2008. Here's the link to the start page for Add-ins, but there's a lot more information surrounding that with important information about the VSTO technology


    Cindy Meister, VSTO/Word MVP
    Saturday, December 31, 2011 8:00 AM

All replies