I've been troubleshooting my VBE project to try to determine what triggers the crash report dialog.
- If I unload all VBE projects, the crash report does not get triggered when I close AutoCAD 2025.
- If I enter the VBE IDE and create a trivial, do nothing code module and close AutoCAD, no crash report is triggered. (Of course, the VBE project is not reloaded next time I start AutoCAD,
- If I enter the VBE IDE and save the trivial project, I can APPLOAD the project (I always tested with "Load Once" option) and the crash report is not triggered when I exit AutoCAD.
- If I insert a single UserForm and save the project, the crash report is triggered when I close AutoCAD.
- Note that simply inserting a UserForm adds a reference to "Microsoft Forms 2.0 Object Library" and checks it as being used.
- You cannot un-check the Forms reference even if the single (only) UserForm is removed from the project.
I got to this point by adding fragments of my normal VBE project (that worked quite well under AutoCAD 2024, thank you.) and testing for the crash report dialog box being triggered on exit from AutoCAD 2025. It wasn't until I got to a declaration of a user type of a UserForm that wouldn't compile that I discovered any correlation.
Down the rabbit hole, I found that Microsoft Forms 2.0 ... does not appear in the "Available References:" list under Tools/References. Checking on the web, I found that in the AutoCAD VBE, as soon as you insert a UserForm, a reference to Microsoft Forms 2.0... appears. I also found out by experimentation that you can't un-check this reference-- even after removing all UserForms from the project. (I haven't found any way to rescue the project from this "corruption")
So, there's your hint. Can Autodesk step up and fix this? FM20.DLL is an ancient component. It includes a well-known bug in the DataObject (clipboard access) that mangles multibyte text if, and only if, more than one File Explorer window is open (by legend, this has existed since Windows 8!)

---
Tosh