The wizards are based on the VBA ™ -compatible scripting integrated into the package, and can be developed with the appropriate editor. A wizard consists of a series of procedures, which can be contained in one or more code modules.

Each wizard must always contain at least the main code module, called Main.bas, in which the main procedure must be defined (Sub Main). The names of the main module and the main procedure must not be changed.
The Main.bas module can contain, in addition to the sub Main, any other definition of procedures, functions, variables, data structures, enumerations and constants.
The Main.bas module, any other code modules used, and any additional elements that may be required (e.g. document templates, graphic files, etc.) must be contained within a folder, whose name represents the name of the wizard.

X Vision identifies each wizard with the related folder, and searches for the above module and start-up procedure in it.
Each wizard is stored in a Category, which is a parent directory that contains one or more wizard folders. The division into Categories allows you to make a logical, as well as physical, subdivision of the available wizards.
The wizard categories are stored in the Wizards directory of the X Vision installation directory. The following figure schematizes the described structure:



[X VISION]






- [WIZARDS]






- [Category1]








- [WIZARD A]










- MAIN.BAS





- *. Bas (any other code modules)





- *. * (If any necessary files to the wizard)








- [WIZARD B]










- MAIN.BAS





- *. Bas (any other code modules)





- *. * (If any necessary files to the wizard)








...






- [CATEGORY No]








- [WIZARD C]










- MAIN.BAS





- *. Bas (any other code modules)





- *. * (If any necessary files to the wizard)