I have an addin which displays a form, then when I clic a button operations are launched.
The form is no modal, so I display it, select objects, apply, selct objects, apply,... then close the form with another button (form.close).
All functions, but only on the first opend file : I open the file, use the addin, close the form. I open another file, the addin is always loaded, but when I clic on the icon to display the form nothing happens... I have to unload the addin and reload it.
Where is the problem ?
Solved! Go to Solution.
I thought it was something like that...
The Onexecute event is only :
...the form is not delared in the sub. I moved the declaration in the sub, it seems to be right !