Author Topic: How to create and load add-ins in Visual Studio .NET  (Read 2223 times)

0 Members and 1 Guest are viewing this topic.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
How to create and load add-ins in Visual Studio .NET
« on: November 17, 2007, 04:13:56 AM »
How to create and load add-ins in Visual Studio .NET

... my Saturday afternoon playtime ..

I started on this page, http://support.microsoft.com/kb/816167
but found it had a few too many errors/ discrepencies .. so ..

follow the piccys ...

Another Article
http://msdn.microsoft.com/msdnmag/issues/02/02/VSIDE/

Visual Studio 2005 SDK Version 4.0
http://www.microsoft.com/downloads/details.aspx?familyid=51A5C65B-C020-4E08-8AC0-3EB9C06996F4&displaylang=en
« Last Edit: November 17, 2007, 05:30:10 AM by Kerry Brown »
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: How to create and load add-ins in Visual Studio .NET
« Reply #1 on: November 17, 2007, 04:16:45 AM »
Cont ...
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: How to create and load add-ins in Visual Studio .NET
« Reply #2 on: November 17, 2007, 04:27:57 AM »
Cont ...

The Code ..
Code: [Select]
//----------------------------------------------
// Part of Connect.cs
// CodeHimBelonga kwb: 2007/11/17 19:23:45
//----------------------------------------------

        /* Execution Method added ; kwb
         * add Text to the IDE editor */
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public bool HeaderDateTime()
        {
            if (_applicationObject.ActiveDocument != null)
            {
                ((TextSelection)_applicationObject.ActiveDocument.Selection).Text =
                    "//----------------------------------------------"
                    + "\n// CodeHimBelonga kwb: " + (DateTime.Now.ToString())
                    + "\n//----------------------------------------------"  ;           
            }
            return true;
        }




kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: How to create and load add-ins in Visual Studio .NET
« Reply #3 on: November 17, 2007, 04:31:19 AM »
Cont ...

Any problems .. just yell.
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.