C++: LPDISPATCH vtiNewWebPage(LPCTSTR szURL, LPCTSTR szWebURL, LPCTSTR szWebTitle);
VB: vtiNewWebPage(URL as String, WebURL as String,
WebTitle as String) as Object
Description
This method causes the FrontPage Editor to create a new empty web page, with a given default URL and optional web information.
Return Value
A pointer to an OLE dispatch object suitable for further automation calls (when they are defined). For this release of FrontPage, you should immediately release this object as described at the start of this section.
Parameters
URL is either empty or the suggested web-relative URL for this page that the Editor will use if it is to save the page into a web. Example: “test.htm”.
WebURL is either empty or an indication to the Editor of the web that the document should be saved to. You can use the FrontPage Explorer method vtiGetWebURL to set this parameter. Example: “http://www.microsoft.com”. (Note: If the value is passed without the http:// appended to the front of the URL, value szWebURL
is ignored by the Editor, instead of showing up in the Properties and Save As... dialog boxes after the function has been called.)
WebTitle is either empty or an indication to the Editor of the web that the document should be saved to. You can use the FrontPage Explorer method vtiGetWebTitle to set this parameter. Example: “Microsoft Main Web”.