1 Reply Latest reply on Oct 2, 2014 2:55 PM by Daniel Andersson

    VB.Net "Addin" Event Listener - DestroyNotify

    Darren Smith

      Can anybody help????

       

      I have a Vb.Net "Addin" that listens to Solidworks "close" events on assemblies, parts and drawings. This works OK!

       

      When I close a document (assembly, part or drawing) the addin, for example only!!!, shows a "yes, no" message box.

       

      If I press "Yes" the document closes as normal. This works OK!

       

      But,

       

      If I press "No", is it possible, with the "addin" to stop the document from closing???

       

      Please see the attached file.

       

      Many thanks in advance!!!

       

      Darren