I/O ActiveX Control In a Browser

I/O ActiveX Control via Visual Basic script:

<TITLE>Test Printer Control</TITLE>
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

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


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