Step 1 - Displaying a Text Control on a HTML Page

Little more than the <OBJECT> tag is required in order to display a Text Control on a HTML page. Only the minimum HTML declarations need to be added:

<HTML>
<HEAD>
  <TITLE>A Simple First Page</TITLE>
</HEAD>
<BODY>
<OBJECT
  classid="clsid:b89a2c01-99dd-11e6-a5ed-0013d350667c"
  id=objTX
  width=600
  height=400
  >
  <PARAM NAME="ViewMode" VALUE="2">
  <PARAM NAME="ScrollBars" VALUE="3">
  <PARAM NAME="PageWidth" VALUE="12240">
  <PARAM NAME="PageHeight" VALUE="15840">
  <PARAM NAME="Text" VALUE="Text Control running in Internet Explorer">
</OBJECT>
</BODY>
</HTML>

The code shown here is contained in Step1.htm in the \IE\HTML sample source directory. Open the file in Internet Explorer to run the sample program.