Altova XMLSpy 2025 Enterprise Edition

Method: OpenFile (strPath as String, bDialog as Boolean) as Document

 

Parameters

strPath

Path and file name of file to open.

 

bDialog

Show dialogs for user input.

 

Return Value

Returns the opened file on success.

 

Description

OpenFile opens the file strPath. If bDialog is TRUE, a file-dialog will be displayed.

 

Example

 

 Dim objDoc As Document

 Set objDoc = objSpy.Documents.OpenFile(strFile, False)

© 2018-2024 Altova GmbH