Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

242 lines
11 KiB

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr>
<HEAD>
<TITLE>Microsoft Remote Desktop Web Connection Readme</TITLE>
<META http-equiv="PICS-Label"
content='(PICS-1.1 "http://www.rsac.org/ratingsv01.html" 1 comment "RSACi North America Server" by "[email protected]" r (n 0 s 0 v 0 l 0))'>
<META http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<META content="a_readme" name="MS-HAID">
<STYLE type="text/css">
H1 {
CLEAR: both; FONT-SIZE: 125%; MARGIN-BOTTOM: 0.5em
}
H2 {
CLEAR: both; MARGIN-TOP: 1.5em; FONT-SIZE: 110%; MARGIN-BOTTOM: 0.5em
}
H3 {
CLEAR: both; MARGIN-TOP: 1.2em; FONT-SIZE: 100%; MARGIN-BOTTOM: 0.5em
}
H4 {
CLEAR: both; MARGIN-TOP: 1.2em; FONT-SIZE: 100%; MARGIN-BOTTOM: 0.5em
}
H5 {
CLEAR: both; MARGIN-TOP: 1.2em; FONT-SIZE: 100%; MARGIN-BOTTOM: 0.5em
}
H6 {
CLEAR: both; MARGIN-TOP: 0.2em; FONT-SIZE: 70%; MARGIN-BOTTOM: 0.5em
}
P {
MARGIN-TOP: 1.5em; MARGIN-BOTTOM: 0.6em
}
OL {
MARGIN-TOP: 0.5em; PADDING-LEFT: 0em; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2.1em
}
UL {
MARGIN-TOP: 0.6em; PADDING-LEFT: 0em; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 1.5em; LIST-STYLE-TYPE: disc
}
LI {
CLEAR: both; MARGIN-BOTTOM: 0.7em
}
DD {
MARGIN-BOTTOM: 0px; MARGIN-LEFT: 1.5em
}
P.indent {
MARGIN-LEFT: 2em
}
P.proclabel {
CLEAR: both; FONT-WEIGHT: bold; FONT-SIZE: 100%
}
TABLE {
MARGIN-TOP: 1em; FONT-SIZE: 100%; MARGIN-BOTTOM: 1em
}
TH {
PADDING-RIGHT: 0.5em; PADDING-LEFT: 0.45em; BACKGROUND: #dddddd; PADDING-BOTTOM: 0.2em; VERTICAL-ALIGN: bottom; PADDING-TOP: 0.2em; TEXT-ALIGN: left
}
TR {
VERTICAL-ALIGN: top
}
TD {
PADDING-RIGHT: 0.5em; PADDING-LEFT: 0.45em; BACKGROUND: #eeeeee; PADDING-BOTTOM: 0.2em; VERTICAL-ALIGN: top; PADDING-TOP: 0.2em
}
PRE {
MARGIN-TOP: 0.5em; MARGIN-BOTTOM: 0.5em
}
CODE {
FONT-SIZE: 1.1em; FONT-FAMILY: Courier New
}
BODY {
FONT-SIZE: 70%; BACKGROUND: #ffffff; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, Sans Serif
}
A:hover {
COLOR: #3399ff
}
A:link {
TEXT-DECORATION: underline
}
A:visited {
TEXT-DECORATION: underline
}
A:active {
TEXT-DECORATION: underline
}
</STYLE>
<META content="EN-US" name="MS.LOCALE">
<META content="Microsoft Remote Desktop Web Connection Readme" name="Content">
<META content="MSHTML 6.00.2800.1050" name="GENERATOR"></HEAD>
<BODY>
<H1><A name="TOP"></A>Microsoft® Remote Desktop Web Connection
<BR>README</H1>
<HR>
<H2><A name="contents">Table of
Contents</FONT></A></H2>
<P><B><br>
1.0 Introduction<br>
1.1 What is the Remote Desktop Web Connection?<br>
1.2 Overview of Remote Desktop Web Connection Components and Features<br><br>
2.0 Installation Instructions for the Remote Desktop Web Connection<br>
2.1 Before You Install the ActiveX Client Control and Sample Web Pages<br>
2.2 To Install the ActiveX Client Control and Sample Web Pages<br>
2.3 Embedding the Remote Desktop ActiveX Control in a Web Page<br></B>
</P>
<P>Information in this document, including URL and other Internet Web site
references, is subject to change without notice and is provided for
informational purposes only. The entire risk of the use or results of the use of
this document remains with the user, and Microsoft Corporation makes no
warranties, either express or implied. Unless otherwise noted, the example
companies, organizations, products, people and events depicted herein are
fictitious and no association with any real company, organization, product,
person or event is intended or should be inferred. Complying with all applicable
copyright laws is the responsibility of the user. Without limiting the rights
under copyright, no part of this document may be reproduced, stored in or
introduced into a retrieval system, or transmitted in any form or by any means
(electronic, mechanical, photocopying, recording, or otherwise), or for any
purpose, without the express written permission of Microsoft Corporation. </P>
<P>Microsoft may have patents, patent applications, trademarks, copyrights, or
other intellectual property rights covering subject matter in this document.
Except as expressly provided in any written license agreement from Microsoft,
the furnishing of this document does not give you any license to these patents,
trademarks, copyrights, or other intellectual property.</P>
<P>© 2002 Microsoft Corporation. All rights reserved.</P>
<P>Microsoft, MS-DOS, Windows, Windows&nbsp;NT, Active Directory, ActiveX,
IntelliMirror, and Visual Basic are either registered trademarks or trademarks
of Microsoft Corporation in the U.S.A. and/or other countries. </P>
<P>The names of actual companies and products mentioned herein may be the
trademarks of their respective owners.</P>
<H2>How to Use This Document</H2>
<P>This document provides information about Microsoft Remote Desktop Web Connection, as well as&nbsp;answers to questions that you might have.</P>
<P></P>
<H2>1.0 Introduction</H2>
<P><B>1.1 What Is the Remote Desktop Web Connection?</B></P>
<P>
Welcome to the Remote
Desktop Web Connection. The purpose of this release is to extend the
functionality of Terminal Services on the client side, so that system administrators,
Web page designers, and Web administrators can implement Terminal Services
client sessions in Web pages or Visual Basic® applications without requiring the
user to download or install the full Remote Desktop Connection client program. These
innovations greatly extend the usefulness of Terminal Services for remote
administration of servers, for Web applications, and for management of terminal
server installations. </P>
<P><B>1.2 Overview of Remote Desktop Web Connection Components
and Features</B></P>
<P>Remote Desktop Web Connection consists of an ActiveX client control and sample Web pages.</P>
<P>The ActiveX client control provides virtually the same functionality as the full Remote Desktop Connection client,
but it is designed to deliver this functionality over the Web. When embedded in
a Web page, the ActiveX client control can host a client session with a terminal
server, even if the full Remote Desktop Connection client is not installed on a user's
computer.</P>
<P> When you install the ActiveX client control, a minimal set of
sample Web pages is also installed on your Web server. These pages
include: sample default pages that work together to create a terminal server Web
connection, and a page for adminstrators that hosts multiple instances of the
ActiveX client control.</P>
<P>
&nbsp; </P>
<H2>2.0 Installation Instructions for Remote Desktop Web Connection</H2>
<P>This section explains how to install the ActiveX client
control and sample Web pages for the Remote Desktop Web Connection. This package
is not meant for Web servers running Windows XP or Windows Server 2003. For
these operating systems, administrators&nbsp;can install the Remote Desktop Web Connection via Add/Remove Windows Components.</P>
<P><B>2.1 Before you install the ActiveX Client Control and
Sample Web Pages</B></P>
The Remote Desktop Web
Connection ActiveX client control is designed to be installed on a Web server running
Windows&nbsp;NT&nbsp;4.0 Server or later and Internet Information Server 4.0 or later.
<P><B>2.2 To Install the ActiveX Client Control and Sample Web
Pages</B></P>
<P>The ActiveX client control and sample Web pages are
contained in
a self-extracting executable file called Tswebsetup.exe.&nbsp;The Setup program installs all files in the
directory that you specify on the local computer.</P>
<P class="indent"><B>Important</B>&nbsp;&nbsp;&nbsp; The ActiveX client control
and sample Web pages are designed to be installed on a Web server running Windows&nbsp;NT
4.0 Server or later and Internet Information Server 4.0 or later. If installed
on a computer that does not meet these requirements, the components will not
function as described. </P>
<P class="Proclabel">To install the ActiveX client control and sample Web
pages</P>
<OL>
<LI>At the Web server where you want to install the
ActiveX client control, download the Tswebsetup.exe file to that web server.
<LI>At a command prompt, type the
following:<BR><BR><CODE><B>&lt;directory&gt;\Tswebsetup.exe</B></CODE><BR><BR>where
<I>directory</I> is the path to
the file Tswebsetup.exe For
example:<BR><BR><B>D:\Temp\Tswebsetup.exe</B> </LI></OL>
<P>The ActiveX Client Control Setup program installs the files in the directory
you specify on the target computer. The default location is C:\Inetpub\Wwwroot\Tsweb.</P>
<P>
&nbsp;</P>
<P><B>2.3 Embedding the Remote Desktop ActiveX Control in a Web Page</B></P>
<P><span style="FONT-SIZE: 8.5pt; COLOR: black; FONT-FAMILY: Verdana">You can embed the Remote Desktop ActiveX control in a Web page by inserting the HTML &lt;OBJECT&gt; tag, as in the following example:</span></P>
<PRE><CODE>
&lt;OBJECT language="vbscript"
ID="MsRdpClient"&gt;
CLASSID="CLSID:9059f30f-4eb1-4bd2-9fdc-36f43a218f4a"
CODEBASE="msrdp.cab#version=5,2,xxxx,0
WIDTH=&lt;% resWidth = Request.QueryString("rW")
if resWidth &lt; 200 or resWidth VIEWASTEXT &gt; 1600 then
resWidth = 800
end if
Response.Write resWidth %&gt;
HEIGHT=&lt;% resHeight = Request.QueryString("rH")
if resHeight &lt; 200 or resHeight &gt; 1200 then
resHeight = 600
end if
Response.Write resHeight %&gt;&gt;
&lt;/OBJECT&gt;
</CODE></PRE>
<P><span style="FONT-SIZE: 8.5pt; COLOR: black; FONT-FAMILY: Verdana">Where xxxx equals the build number of the control.
Developers can find this information by looking in the default.htm page under
the "CONNECT" section of the source. The value that the WIDTH keyword is set to is the width, in pixels, of the Terminal Services session displayed on the Web page. The value that the HEIGHT keyword is set to is the height, in pixels, of the Terminal Services session. The value that the CODEBASE keyword is set to is the location of the file containing the Remote Desktop Web Connection code. The name of this file is Msrdp.cab, and it is located in the directory in which you installed the Remote Desktop ActiveX control and sample pages. The PARAMNAME keyword is set to one or more of the parameters supported in Msrdp.ocx.</span></P>
<P><span style="FONT-SIZE: 8.5pt; COLOR: black; FONT-FAMILY: Verdana">Note that the Remote Desktop ActiveX control object parameters are not listed in this document. To view them, open Msrdp.ocx in a tool such as Oleview.exe or the Visual Basic Object Browser. Msrdp.ocx is located in Msrdp.cab.</span></P>
</BODY></HTML>