Author Topic: AutoCAD 2024 always prompts to save .DVB file on close.  (Read 1764 times)

0 Members and 1 Guest are viewing this topic.

patrickcraig31

  • Mosquito
  • Posts: 3
AutoCAD 2024 always prompts to save .DVB file on close.
« on: January 15, 2024, 01:45:41 PM »
AutoCAD asks to save the .DVB file every time the application closes. This is true even for users that do not even use the VBA Editor. I would like for this prompt to go away. Has anybody else had this issue?

n.yuan

  • Bull Frog
  • Posts: 348
Re: AutoCAD 2024 always prompts to save .DVB file on close.
« Reply #1 on: January 17, 2024, 02:48:45 PM »
With the DVB file loaded, you can go to VBA Editor, click menu "Tools->References...", then in the "References" dialog, see if "Microsoft Visual Basic for Application Extensibility 5.x" is one the checked references. If yes, the VBA project may have code that does some kind of changes to the VBA project, such as adding/changing references "dynamically" (which is really a bad thing to do and does not make much sense, but I do see this from time to time) either when the DVB file is loaded, or VBA macro starts.

If that is the case, to getting rid of the "saving" prompt, you have to remove the reference to the "VBA Extensibility 5.x" (and risk the VBA project being broken, unless you do some code fix after removing the Extensibility 5.X).