Now that you know how to create an extension, let's examine how to register one. You must register an extension for each template that will use it. Under the registry key for the template that will use the extension, you must provide two new values: ExtensionClass and ExtensionSteps. ExtensionClass is a string that specifies the ProgID of your extension DLL. ExtensionSteps is an integer that specifies the number of steps your extension will add to the wizard. You can have multiple steps in your extension, so this number is not limited to 1. However, you will need to code the navigation for your extension in order to call your Visual Basic forms. For example, if your extension contains two Visual Basic forms, the first form must implement under its Next button the code to hide itself and to show the second Visual Basic form. Figure 9-24 shows the registration for the Account Tracking extension.
Figure 9-24. The registration for the Account Tracking extension as part of a custom Team Folders template.