Documents.OpenFile

www.altova.com このトピックを印刷 前のページ 1つ上のレベル 次のページ

ホーム >  プログラマーのレファレンス > 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)


(C) 2019 Altova GmbH