Thank you for your invaluable help!
Thanks to the piece of code that I have seen that I have provided the
basic what I had done was correct. So I began to rebuild from scratch
the forms that I had. Eventually I discovered that I followed: In one
form, with Excel 2003, an exception was generated because I had
defined an icon associated with the form (the top left corner near the
window title).
In another form I had created a potential loop within a function
itemChecked event of a ListView with checkboxes. At the moment of
creation, a checkbox with check = true by default, unleashed the
potential loop and after a few moments, Excel 2003 closes with no
errors.
For some strange reason both defects under Win7 with Excel 2007 and
Excel 2010 did not give any problems and everything worked as
expected.
Now I created a project finalemnte able to add an addin XLL compacted
into a single file that is able to function properly from 2003 to 2010
in the same way without any problems (indeed, the addin in Excel 2003
opens much faster).
Thanks again for the quick and valuable help,
Luca.
> --
> You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
> To post to this group, send email to exce...@googlegroups.com.
> To unsubscribe from this group, send email to exceldna+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/exceldna?hl=en.
>