This example sets the scripting language for the script anchor (shape eight on slide one) to Microsoft Visual Basic Scripting Edition (VBScript).
With ActivePresentation.Slides(1).Shapes(8)
.Script.Language = msoScriptLanguageVisualBasic
End With