90 likes | 402 Views
ActiveX Control Pad. 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?
E N D
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
Start Up Screen This is HTML view
Insert ActiveX Control • Many ActiveX controls included in IE and Windows. Others can be downloaded or written. • Edit -> Insert ActiveX Control
Edit Control Code
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
Script Wizard • Tools -> Script Wizard Default: VBScript
Running • Save the file in default home directory • Run with Internet Explorer instead of Netscape
ActiveX Scripting Demonstrates • Use of ActiveX Controls • Scripting • Client side programming