Setting the Environment Variables

The paths to the dlls for COM objects are relative in order to have multiple versions of XSI installed. The using environment variables for these paths can be set through a VB-specific batch file which sets the environment variables and loads Visual Basic.

To set up your Visual Basic environment through the command prompt

- Save the following code as a batch file (for example startvb.bat), making sure that you change the text in bold to match your installation:

       @echo off

       call [xsi_installation_directory]\bin\Setenv.bat

       set PATH
       set SUMATRAPATH%XSI_BINDIR%

       "C:\Program Files\Microsoft Visual Studio\VB98\Vb6.exe"

       echo on

| Use the actual path of your Softimage installation instead of:
    [xsi_installation_directory]
Use the actual path of Visual Basic 6 instead of
    C:\Program Files\Microsoft Visual Studio\VB98\Vb6.exe