C++: boolean vtiSetEditor(BSTR szType, BSTR szName, BSTR szCommand);
VB: vtiSetEditor(Type as String, Name as String, Command as String) as Boolean
Description
Provides a way to set the program that will be used to edit a file type based on its extension. The name of the program will appear in the FrontPage Explorer’s list of configured editors, and when a file with the given extension is opened, the program will be invoked and passed a path to the file on the command line.
Return Value
True – success
False – failure
Parameters
Type is a three-letter extension, without the initial dot (“.”). Example: “dat”.
Name is the friendly name for the given program. Example: “My Data File Editor”.
Command is the command line that will be used to invoke the program. Example: “c:\myeditor\dataedit.exe”.