Launcher Control Code Sample

This code sample shows how to call the EXTRA! X-treme Launcher ActiveX control from an HTML page.

<HTML><HEAD><TITLE>Sample HTML Page</TITLE>

<SCRIPT LANGUAGE="JavaScript">
function mylaunchfunction()
{
  launcher.launchfile="TN3270.EDP";
  launcher.embedded=true;
  launcher.onclose="close";

  launcher.launch();
}
</SCRIPT></HEAD>

<BODY onLoad="mylaunchfunction()">

<H1>EXTRA! X-treme Terminal</H1>
<BR>

<OBJECT ID="launcher" CLASSID="clsid:036E962F-9B09-43A1-9D3D-DB619F3EA70C" HEIGHT="300" WIDTH="500"></OBJECT>

</BODY></HTML>
Related Topics
Bullet Adding Sessions to a Portal, Overview
Bullet Adding a Session to any Web Page
Bullet Launcher Control Property Descriptions
  Attachmate