In which case AutoCAD tell you "would you like to save the file"? May be you try to open another dwg-file before saving previous? Then you need to save previous dwg-file before open another one.
Message was edited by: Alexander Rivilis
while I am running a AutoCAD application at the moment with Single drawing compatibility mode, open file1 and do something
I create an AutoCAD object from VB.net under the same drawing(Single drawing compatibility) open file1 and do something, then there will be messagebox popup.
My code is open lots dwg file and insert something and close as a thread running in the background.