I have this VB.net DLL that I netload and I'm trying to get this event handler sub to run before AutoCAD quits. Is it because I'm in debug mode? I'm able to get get other events to work. I'm not sure what I'm doing wrong?
Public Sub AddBeginQuitEvent()
AddHandler Application.BeginQuit, AddressOf RunAcadBeginQuitAction
End Sub
Public Sub RunAcadBeginQuitAction(ByVal senderObj As Object, ByVal beginQuitArg As ExitEventArgs)
Application.ShowAlertDialog("running RunAcadBeginQuitAction")
End Sub
Thanks for the sharing the solution with community
Regards,
~'J'~