ActiveX Control Pad

Download Report

Transcript ActiveX Control Pad

ActiveX Control Pad
1
ActiveX Control Pad






ActiveX controls can have scripts wrapped
around them.
The controls have interfaces to link with the
scripts.
ActiveX controls have long Class ID.
How can we write a client side script and
ActiveX program?
Can do this manually (tedious) or using Active
X control pad.
The pad can be downloaded free. See course
web site
2
Start Up Screen
This is HTML view
3
Insert ActiveX Control


Many ActiveX controls included in IE and
Windows. Others can be downloaded or
written.
Edit -> Insert ActiveX Control
4
Edit Control
Code
5
Scripting





Can use Script Wizard to help write script.
(Tools -> Script Wizard)
Set default scripting to either VBScript or
JavaScript (JScript)
Select Event and Action
Script automatically written
Can then test out in Internet Explorer
6
Script Wizard

Tools -> Script Wizard
Default: VBScript
7
Running


Save the file in default home directory
Run with Internet Explorer instead of
Netscape
8
ActiveX Scripting
Demonstrates
 Use of ActiveX Controls
 Scripting
 Client side programming
9