Vb.Net HandlingCode = HandlingCodeEnum.kEventCanceled Not Working?

Vb.Net HandlingCode = HandlingCodeEnum.kEventCanceled Not Working?

isocam
Collaborator Collaborator
157 Views
1 Reply
Message 1 of 2

Vb.Net HandlingCode = HandlingCodeEnum.kEventCanceled Not Working?

isocam
Collaborator
Collaborator

Can anybody help?

 

I am writing a Vb.Net Addin for Inventor 2025 using DialogEvents_OnFileSaveAsDialog

 

I want to overwrite the standard saveas dialog box with my own version, but, the following code does not work

 

HandlingCode = HandlingCodeEnum.kEventCanceled

 

Does anybody know what I have to do to my Vb.Net "Addin" to allow this function to work?

 

Many thanks in advance!

 

Darren

0 Likes
158 Views
1 Reply
Reply (1)
Message 2 of 2

jjstr8
Collaborator
Collaborator

Give FileName a value in your handler and set HandlingCode = HandlingCodeEnum.Handled, not cancelled.

0 Likes