About the programming environment

Microsoft Office InfoPath

Show All Show All

About the programming environment

Microsoft Office InfoPath 2003 uses the Microsoft Script Editor (MSE) as its primary integrated development environment. Microsoft JScript and Microsoft VBScript are the programming languages that are used in MSE to create custom business logic for a form.

MSE can be opened when working with a form in design mode by pointing to Script on the Tools menu and clicking Microsoft Script Editor, or by pressing ALT+SHIFT+F11. When you open MSE from InfoPath, the MSE code editor appears and the form's default scripting file (with either a .js or .vbs extension, depending on the scripting language set for the form) opens in the code editing window.

Working with MSE in an InfoPath form involves several tasks, including setting the default scripting language, creating an event handler, and debugging scripting code.

ShowSetting the default scripting language

ShowCreating an event handler

ShowDebugging scripting code

Note  For more information about using MSE, click Microsoft Script Editor Help on the Help menu when working in MSE.