Documents.OpenFile

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Programmers' Reference > Application API > Interfaces > Documents >

Documents.OpenFile

See also

 

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)


© 2019 Altova GmbH