Browse by Tags

All Tags » event
  • Events in VSTA Part IV: Unloading Add-ins that do not Unhook from Events

    As mentioned in Part III, any events an add-in hooks into should be unhooked in the add-in, presumably in the Shutdown method.  Unfortunately, if the add-in does not unhook from an event this can cause problems- namely that the host application will continue to attempt to reach the add-in code when the event is raised. To prevent ...
    Posted to Melody's VSTA Blog (Weblog) by Melody on May 16, 2008
  • EventSample- Common tasks in VSTA v 1 exposed.

    Overview: This sample is intended to expose several common tasks in VSTA v 1, including: declaring an object, using and manipulating a form, handling form events and event args, and generic event handling.  The generic event handling in this sample is similar to Tom Quinn’s ShapeAppAdvancedCSharpGenerics sample available at ...
    Posted to VSTA Samples (FileGallery) by Melody on August 24, 2007