I/O ActiveX Control In a Browser

I/O ActiveX Control via Visual Basic script:

<HTML>
<HEAD>
<TITLE>Test Printer Control</TITLE>
</HEAD>
<SCRIPT LANGUAGE="VBScript">
sub openPort1()
 call IO.Open("COM2:","baud=9600 parity=N data=8 stop=1" )
 call IO.WriteString("String to write to port")
 call IO.Close
end sub
</SCRIPT>

</SCRIPT>
<BODY bgColor=gray>
    <FORM>
        <INPUT LANGUAGE="VBScript" TYPE=button VALUE="Write to COM2:"
         ONCLICK="call openPort1" NAME="cmdTest1">
    </FORM>
<OBJECT classid="CLSID:9F3B4DE4-AA29-11D1-A3D9-FDA4E35D1D25" height=48 id=IO style="LEFT: 0px; TOP: 0px"
 width=48>
 <PARAM NAME="_Version" VALUE="65536">
 <PARAM NAME="_ExtentX" VALUE="1270">
 <PARAM NAME="_ExtentY" VALUE="1270">
 <PARAM NAME="_StockProps" VALUE="0"></OBJECT>

</BODY>
</HTML>
 
 

Home Page | Site Map | Copyright (c) 1998 by JSPayne of Cortland NY