The Application property of the Document object provides access to the Application object. The Application object is above the Document object in the object hierarchy.
ThisDrawing object provides access to the Document object. For example, the following line of code updates the application:
TheThisDrawing.Application.Update