vtiQueryWebPage

C++: long vtiQueryWebPage(LPCTSTR szURL, LPCTSTR szWebURL);
VB: vtiQueryWebPage(URL as String, WebURL as String) as Long

Description

This method lets you find out if the FrontPage Editor is currently editing a given page from a given web.

Return Value

The return value is currently 1 for success and 0 for failure, but this may change to include other status codes in the future.

Parameters

URL is either an absolute URL or a URL relative to WebURL indicating the document being queried. Example: “test.htm”.

WebURL is either empty or an indication of the web that the document came from. You can use the FrontPage Explorer method vtiGetWebURL to set this parameter. Examples: “www.microsoft.com”, “http://www.microsoft.com”.