Navigate

Method of IApplication

Navigates to position in document, opening it if necessary

Return Value

JavaScript

var ppDocument = Application.Navigate(strPathName, nLine, nPos, bActivate);

Visual Basic Script

ppDocument = Application.Navigate strPathName, nLine, nPos, bActivate

C++

CComPtr<IDocument> pDocument;
HRESULT hr = Application.Navigate(strPathName, nLine, nPos, bActivate, &pDocument);