XMLSpyControl.Open

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

Home >  Programmers' Reference > ActiveX Integration > Object Reference > XMLSpyControl > Methods >

XMLSpyControl.Open

Method: Open (strFilePath as string) as boolean

 

Dispatch Id: 5

 

Description:

The result of the method depends on the extension passed in the argument strFilePath. If the file extension is .sps, a new document is opened. If the file extension is .svp, the corresponding project is opened. If a different file extension is passed into the method, the control tries to load the file as a new component into the active document.

 

Do not use this method to load documents or projects when using the control in document-level integration mode. Instead, use XMLSpyControlDocument.Open and XMLSpyControlPlaceHolder.OpenProject.


© 2019 Altova GmbH