XLL+ Class Library

XlpSetTemplate Tool

Overview

The XLL+ template file contains the skeleton code used by the XLL+ Function Wizard to generate and maintain XLL+ add-in functions. You may on occasion wish to use a different template, in order to produce code for special purposes. The XlpSetTemplate tool can be used to change the template file use by the XLL+ Function Wizard.

Location

The utility can be found as file XlpSetTemplate.exe in the Bin sub-directory directly under the XLL+ installation directory.

Usage

XLPSETTEMPLATE [-d] [-t template-file] [-h]

Options:
    -t template-file  Sets the template file to the supplied file. If the file name contains no 
                      directory, then it will be assumed to be in the etc folder of the 
                      XLL+ installation.
    -d                Sets the template file to the default value
    -h                Displays usage

Notes

The utility sets the values of the following registry keys:

HKEY_CURRENT_USER\Software\Planatech\XllPlus\4.2VS6\PreviewTplFile
HKEY_CURRENT_USER\Software\Planatech\XllPlus\4.2NET\PreviewTplFile

The utility reads the value of the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Planatech\XllPlus\4.2\InstallDir