Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
pball
1037 Views, 16 Replies

VB.net Addin unload itself?

I would like a DLL addin to be able to unload it self. I found some code that works running it from VBA but not from inside my addin. Is is possible for an addin to unload itself?

 

ThisApplication.ApplicationAddIns.ItemById("{idstringhere]").Deactivate()

Check out my style edits for the Autodesk forums
pball's Autodesk Forum Style