I've tried to delete the event and recreate it, it now looks like this:
Private Sub oFileUIEvents_OnFileSaveAsDialog(ByRef FileTypes() As String, SaveCopyAs As Boolean, ParentHWND As Integer, ByRef FileName As String, Context As Inventor.NameValueMap, ByRef HandlingCode As Inventor.HandlingCodeEnum) Handles oFileUIEvents.OnFileSaveAsDialog
But it just doesn't work. Is there something changed in the behavior of this event after Inventor 2011? Are there more people having problems with this? I'm kinda stuck here so any help would be appreciated.
I just created a new addin with the wizard and put the same code in there. Strangely it does work now, anyone an idea what can prevent the event from firing in my existing addin?