MAXScript Tools and Interaction with 3ds Max > OLE Automation >

# MAXScript.reg - Registery file

The last line has to be edited to point at your current 3ds Max exe location.

Save the file as MAXScript.reg.

Then just double-click it in Windows Explorer to register with the Windows Registery.

    ;-------- cut here -------------
    REGEDIT
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;
    ; 1. Change the path in the last line of this file to point at your
    ; current3ds Maxexecutable directory, then
    ; 2. Double click this file in Windows Explorer
    ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;
    ; registration info MAX.Application (defaults to MAX.Application.4)
    HKEY_CLASSES_ROOT\MAX.Application = OLE Automation MAX Application
    HKEY_CLASSES_ROOT\MAX.Application\Clsid = {7FA22CB1-D26F-11d0-B260-00A0240CEEA3}
    HKEY_CLASSES_ROOT\MAX.Application\CurVer = MAX.Application.4
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;; registration info MAX 4.0
    ; (Application Object)
    HKEY_CLASSES_ROOT\MAX.Application.4 = OLE Automation MAX 4.0 Application
    HKEY_CLASSES_ROOT\MAX.Application.4\Clsid = {7FA22CB1-D26F-11d0-B260-00A0240CEEA3}
    HKEY_CLASSES_ROOT\CLSID\{7FA22CB1-D26F-11d0-B260-00A0240CEEA3} = OLE Automation MAX 4.0 Application
    HKEY_CLASSES_ROOT\CLSID\{7FA22CB1-D26F-11d0-B260-00A0240CEEA3}\ProgID = MAX.Application.4
    HKEY_CLASSES_ROOT\CLSID\{7FA22CB1-D26F-11d0-B260-00A0240CEEA3}\VersionIndependentProgID = MAX.Application
    HKEY_CLASSES_ROOT\CLSID\{7FA22CB1-D26F-11d0-B260-00A0240CEEA3}\LocalServer32 = C:\3dsmax4\3dsmax.exe
    ;---- cut here

#### See Also

- Setting Up MAXScript OLE Automation

- OLE Automation

- Running the OLE Demo

- Exposing MAXScript Functions

- 3ds Max-Specific Errors