The following is a list of OLE automation methods supported by the FrontPage Explorer (using the OLE identifier FrontPage.Explorer):
long vtiCreateWeb(LPCTSTR szServerURL, LPCTSTR szWebName);
void vtiRefreshWebFromServer();
long vtiPutDocument(LPCTSTR szFileName, LPCTSTR szURL, BOOL bBlockingRequest);
long vtiPutWebMetaInfo(LPCTSTR szNameValuePairs);
void vtiSetWebRecalcDependencies(BOOL bRecalcOn);
BSTR vtiGetWebPageMetaInfo(LPCTSTR szURL, LPCTSTR szKeyName);
void vtiBringToTop();
BSTR vtiGetWebTitle();
BSTR vtiGetWebURL();
void vtiPromptOpenWeb();
long vtiRemoveWeb(LPCTSTR szWebName);
BOOL vtiIsPageInWeb(LPCTSTR szURL);
BSTR vtiGetWebMetaInfo(LPCTSTR szKey);
BSTR vtiGetPageList(long lType);
BOOL vtiPutDocuments(LPCTSTR szFileList, LPCTSTR szUrlList);
void vtiCancelRequests();
BOOL vtiOpenWeb(LPCTSTR pszServer, LPCTSTR pszWebName, LPCTSTR pszUser);
long vtiEditWebPage(LPCTSTR pszPageURL);
long vtiPutWebPageMetaInfo(LPCTSTR pszURL, LPCTSTR pszNameValuePairs);
long vtiGetDocToFile(LPCTSTR pszURL, LPCTSTR pszFilename);
The following automation methods were added for FrontPage 97:
BSTR vtiGetFoldersList(LPCTSTR pszParentFolderUrl);
BSTR vtiGetPagesInFolder(LPCTSTR pszFolderUrl, long lType);
long vtiCreateFolder(LPCTSTR pszFolderUrl);
BOOL vtiOpenWebWithPassword(LPCTSTR pszServer, LPCTSTR pszWebName,
LPCTSTR pszUser, LPCTSTR pszPassword);
BSTR vtiListWebs(LPCTSTR pszServer, LPCTSTR pszUser, LPCTSTR pszPassword);
void vtiDisableErrorDialogs(BOOL bYesNo);
void vtiQuit();
long vtiPublishWeb(LPCTSTR pszServerUrl, LPCTSTR pszWebName, long dwFlags, LPCTSTR pszUser, LPCTSTR pszPassword);
long vtiRemoveWebPages(LPCTSTR pszPageList);
The following automation methods were added for FrontPage 98:
long vtiRenameDocument(BSTR pszURL, BSTR pszNewURL, boolean bUpdateBacklinks, boolean bIsFolder,
boolean bCopy, boolean bForceOverwrite);
long vtiIsFeatureSupported(BSTR pszFeature);
BSTR vtiListThemes();
long vtiApplyTheme(BSTR pszName, long dParams, BSTR fileList);
BSTR vtiGetTheme(BSTR pszThemeDirName, BSTR pszLocThemesDir);
long vtiPutTheme(BSTR pszThemeDirname, BSTR pszThemeVersion, BSTR pszFileList, BSTR pszLocThemesDir);
long vtiPutWebStructure(BSTR pszModifications);
BSTR vtiGetWebStructureRelations(BSTR pszUrl, long lRelationType);
BSTR vtiReturnDBWRoot(BSTR pszFileURL);
long vtiMakeThemeFresh(BSTR pszWebUrl, BSTR pszThemeName, boolean bAllowUpload, boolean bAllowDownload);
boolean vtiSetCurrentView(long nViewID, boolean bTransferSelection, long nFlags);
boolean vtiIsFolderInWeb(BSTR pszFolderUrl);
boolean vtiSetFolderOptions(BSTR pszFolder, boolean bExecutable, boolean bReadable);
boolean vtiRefreshThemeList();
boolean vtiSetEditor(BSTR szType,BSTR szName,BSTR szCommand);