Partager via


VBScript OS Design Development (Windows Embedded CE 6.0)

1/6/2010

The VBScript functionality for Windows Embedded CE provides a run-time engine for parsing and translating Microsoft Visual Basic Scripting Edition.

Microsoft VBScript, a subset of the Visual Basic programming language, is a fast, portable, lightweight interpreter for use in Internet browsers and other applications that use Microsoft ActiveX Controls, Automation servers, and Java language programs. Effective with Windows Embedded CE 6.0 R3, VBScript supports one optional functionality:

  • MsgBox and InputBox user interface, through the SYSGEN_VBSCRIPT_MSGBOX flag

Script debugging is not supported, and Windows Embedded CE does not include type libraries for script interfaces.

Hosting for VBScript is provided by the Browser Control Host (SHDOCVW) in Internet Explorer Embedded. However, you can create your own host application by using Microsoft Active Scripting. This enables a host to compile scripts, obtain and call entry points, and manage the namespace available to the developer.

OS Design Information

The following table shows operating system design information for the VBScript functionality:

Concept Description

Dependencies

None

Hardware considerations

None

Modules and Components

The following table shows the components and modules that implement the VBScript functionality:

Item Module Component

VBScript engine

vbscript

None

VBScript script authoring

vbsauthor

None

VBScript MsgBox and InputBox user interface

vbsui

None

Implementation Considerations

The following table shows the Sysgen variables that control the VBScript functionality:

Sysgen variable Description

SYSGEN_IE_VBSCRIPT

Adds the VBScript run-time engine, script authoring with DHTML dynamic properties, and encoding support for VBScript

SYSGEN_VBSCRIPT_MSGBOX

Adds MsgBox and InputBox user interface (UI) functionality

See Also

Other Resources

VBScript
VBScript Application Development
JScript
Internet Explorer Embedded