WEB项目使用远程桌面,Embedding the Remote Desktop ActiveX Control in a Web Page
You can embed the Remote Desktop ActiveX control in a Web page by inserting the HTML OBJECT element, as in the following example.
<OBJECT language="vbscript" ID="MsRdpClient" onerror="OnControlLoadError" onreadystatechange="OnControlLoad" CLASSID="CLSID:4eb89ff4-7f78-4a0f-8b8d-2bf02e94e4b2" WIDTH=800 HEIGHT=600> </OBJECT>
The CLSID is for the ActiveX control that is hosted by Remote Desktop Connection (RDP) 6.0. This ActiveX control implements MsRdpClient5.
Send comments about this topic to Microsoft
Build date: 5/27/2010
<OBJECT language="vbscript" ID="MsRdpClient"
CLASSID="CLSID:9059f30f-4eb1-4bd2-9fdc-36f43a218f4a"
CODEBASE="msrdp.cab#version=5,1,2524,0"
WIDTH=<% resWidth = Request.QueryString("rW")
if resWidth < 200 or resWidth > 1600 then
resWidth = 800
end if
Response.Write resWidth %>
HEIGHT=<% resHeight = Request.QueryString("rH")
if resHeight < 200 or resHeight > 1200 then
resHeight = 600
end if
Response.Write resHeight %>>
<PARAM NAME = property1 value = property1value>
<PARAM NAME = property2 value = property2value>
...
</OBJECT>