Web page example

<body>

<p align="center"><input type="button" name="BtnConnect" value="connect"
onclick="BtnConnect_OnClick()">

<input type="submit" name="BtnDisconnect" value="Disconnect">

<script language="VBScript"><!--

Sub BtnConnect_OnClick
call PAWRem.Connect("Andrew-M1")
End Sub

Sub Window_OnLoad()
PAWRem.ColorScale = 2
PAWRem.StartEZZoom = 1
PAWRem.TrackHostMouse = 1
PAWRem.TrackHostWindow = 1
PAWRem.CacheFileSize = 15
PAWRem.ezScrollHotKey = 1
PAWRem.LockHostKeyboard = 1
PAWRem.HelpURL="http://<your web page>/help.htm"
End Sub

--></script></p>

<p align="center"><object ID="PAWRem"
classid="clsid:D5EBF06F-9BAF-11D0-B12D-00C04FC39CEA"
codebase=pawrem.dll" align="baseline" border="0" width="640"
height="480"></object>
</p>

<p align="center">&nbsp;</p>

</body>

HTML syntax

The syntax of the pcANYWHERE ActiveX Control <object> HTML tag is:

<object

id="PAWrem"

classid="clsid:D5EBF06F-9BAF-11DO-B12D-00C04FC39CEA"

Codebase="pawrem.dll#version=1,0,0,0"

align="baseline"

border="value"

width="value"

height="value"

parameter="value"...>

The "id=" and "classid=" parameters identify this as a pcANYWHERE ActiveX Control.

The "codebase=" parameter specifies the name of the .dll that automatically installs the control from the web server.

The "align=", "border=", "width=", and "height=" parameters specify the dimensions of the embedded window that the ActiveX control uses. These are required parameters and must be specified.