Message 1 of 12
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey guys,
i just upgraded from Inventor 2019 to Inventor 2022. I just noticed that in my addin an InventorEvent is not fired anymore. Does anyone have the same issue. Simple Expample when i start Inventor i expect the "Ready" Messagebox to show up, but nothing happens. If i close Inventor, the MessageBox "Close" appears. So is there a bug in the new version or what is wrong?
Public Class StandardAddInServer
Implements Inventor.ApplicationAddInServer
' Inventor application object.
Private m_inventorApplication As Inventor.Application
Private WithEvents oAppEvents As ApplicationEvents
Private Sub oAppEvents_OnReady(BeforeOrAfter As EventTimingEnum, Context As NameValueMap, ByRef HandlingCode As HandlingCodeEnum) Handles oAppEvents.OnReady
MsgBox("READY")
End Sub
Private Sub oAppEvents_OnQuit(BeforeOrAfter As EventTimingEnum, Context As NameValueMap, ByRef HandlingCode As HandlingCodeEnum) Handles oAppEvents.OnQuit
MsgBox("QUIT")
End Sub
Solved! Go to Solution.

