The MapForce API > Object Reference > Application >
Method: OpenDocument (i_strFileName as String) as Document
Loads a previously saved document file and continues working on it. The newly opened document becomes the ActiveDocument. This method is a shorter form of Documents.OpenDocument.
The application object is no longer valid.
Invalid address for the return parameter was specified.
(C) 2019 Altova GmbH