DOCUMENT:Q184739 29-APR-1998 [vbwin] TITLE :FILE: Script Control PRODUCT :Microsoft Visual Basic for Windows PROD/VER:WINDOWS:4.0,5.0 OPER/SYS:WINDOWS KEYWORDS:kbVBp kbVBp500 kbVBp600 kbScript kbCtrl ====================================================================== --------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual Basic Standard, Professional, and Enterprise Editions for Windows, version 4.0 - Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 5.0 - Microsoft Visual Basic for Applications version 5.0 --------------------------------------------------------------------- SUMMARY ======= This article describes the procedure for obtaining the Script control. MORE INFORMATION ================ The Script control provides a simple way for your application to host a scripting environment. Supported scripting languages are VBScript, JavaScript, and any other compliant scripting language that will work with the Microsoft Internet Explorer web browser. You can download the script control from the following Web site: http://www.microsoft.com/scripting/scriptcontrol/default.htm This page also provides a link to documentation on how to use the control. The file name you will receive is sct10en.exe. NOTE: Registration is required before downloading this control. Using the Script Control ------------------------ The script control installs both as an ActiveX control that you can place on a form and as an ActiveX server that you can instantiate in code. To make the control available to your project, click on the Projects Menu and select Components. This also makes the ActiveX server available. To make just the ActiveX server available, click on the Projects Menu and select References. REFERENCES ========== The help file for the script control contains limited sample code. For additional sample code, please see the following articles in the Microsoft Knowledge Base: ARTICLE-ID: Q184742 TITLE : HOWTO: Use the Script Control Error Object ARTICLE-ID: Q184745 TITLE : HOWTO: Use Script Control Modules and Procedures Collections ARTICLE-ID: Q184740 TITLE : HOWTO: Call Functions Using the Script Control (c) Microsoft Corporation 1998, All Rights Reserved. Contributions by Malcolm Stewart, Microsoft Corporation Additional query words: ====================================================================== Keywords : kbVBp kbVBp500 kbVBp600 kbScript kbCtrl Version : WINDOWS:4.0,5.0 Platform : WINDOWS ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1998.