Share via


VBScript OS Design Development (Windows CE 5.0)

Send Feedback

The VBScript functionality for Microsoft® Windows® 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 applets. Effective with Windows CE .NET 4.2, supports two optional functionalities:

  • Script authoring, which enables DHTML Dynamic Properties, through the SYSGEN_VBSCRIPT_AUTHOR Sysgen flag.
  • MsgBox and InputBox user interface, through the SYSGEN_VBSCRIPT_MSGBOX flag.

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

Hosting for VBScript is provided by the Browser Control Host (SHDOCVW) in Internet Explorer 6 for Windows CE. The mobile Internet browser, Microsoft Pocket Internet Explorer, cannot host VBScript. However, you can create your own host application by using Microsoft ActiveX Scripting, which 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 5.5 run-time engine.
SYSGEN_VBSCRIPT_AUTHOR Adds script authoring, which enables DHTML dynamic properties.
SYSGEN_VBSCRIPT_MSGBOX Adds MsgBox and InputBox user interface (UI) functionality.
SYSGEN_VBSCRIPT_ENCODE Adds encoding support for VBScript.

See Also

VBScript Application Development | VBScript | JScript | Internet Explorer 6 for Windows CE | Pocket Internet Explorer

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.