<%@ Page language="c#" Codebehind="Http.aspx.cs" AutoEventWireup="false" Inherits="Http.WebForm1" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <HTML> <HEAD> <meta content="Microsoft Visual Studio 7.0" name="GENERATOR"> <meta content="C#" name="CODE_LANGUAGE"> <meta content="JavaScript (ECMAScript)" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> </HEAD> <body> <form id="Form1" method="post" runat="server"> <P> <asp:label id="lblTitle" runat="server" Font-Bold="True" Font-Size="Small" Font-Names="Arial">Enter Url</asp:label> <br> <br> <asp:label id="lblUrl" runat="server" Font-Bold="true" Font-Name="Arial" Font-Size="X-Small">Url:</asp:label> <asp:textbox id="txtUrl" runat="server">www.dart.com</asp:textbox> &nbsp;&nbsp;&nbsp; <asp:button id="cmdGetPage" runat="server" Text="Get Page"></asp:button> <br> <asp:label id="lblHeaders" runat="server" Font-Bold="true" Font-Name="Arial" Font-Size="X-Small">Headers:</asp:label> <br> <asp:textbox id="txtHeaders" runat="server" Height="97px" TextMode="MultiLine" Width="539px"></asp:textbox> <br> <br> <asp:label id="lblBody" runat="server" Font-Bold="true" Font-Name="Arial" Font-Size="X-Small">Content:</asp:label> <br> <asp:textbox id="txtContent" runat="server" Height="245px" TextMode="MultiLine" Width="541px"></asp:textbox> <br> <br> <asp:label id="lblLinks" Font-Bold="true" Font-Name="Arial" Font-Size="X-Small" Runat="server">HyperLinks on this Page:</asp:label> <br> <asp:listbox id="lstLinks" runat="server" Height="70px" Width="539px"></asp:listbox> <br> <asp:button id="cmdGetOtherPage" runat="server" Text="Get This Page"></asp:button> <br> <br> <asp:label id="lblImages" Font-Bold="true" Font-Name="Arial" Font-Size="X-Small" Runat="server">Images on this Page:</asp:label> <br> <a name="images"></a> <asp:button id="cmdPrevImg" Text="<-- Previous Image" Runat="server"></asp:button> <asp:button id="cmdNextImg" Text="Next Image -->" Runat="server"></asp:button> <br> <br> </P> <P> <asp:Label id="lblImagesTitle" runat="server" Font-Bold="True" Font-Size="X-Small" Font-Names="Arial"></asp:Label> <br> <asp:label id="lblImagesDisplay" Font-Bold="true" Font-Name="Arial" Font-Size="X-Small" Runat="server"></asp:label> <br> <br> <br> </P> </form> <font face="arial" size="2">View <A href="httpaspx.inc">ASPX Page Source</A>. <br> View <A href="httpcs.inc">Codebehind (.cs) Source</A>. <br> <br> <h5> To Use This Project On Your ASP .NET Machine Using Visual Studio 7. </h5> <ul> <li> Be sure to have a registered copy of DartWebAsp.Dll (COM Dll) on the server. <li> Create a wrapper for the COM Dll by using the tlbimp app. The command should be something like: <br> <code>"C:\Program Files\Microsoft.NET\FrameworkSDK\Bin\TlbImp.exe" DartWebAsp.dll /out:DartWebAspDotnet.dll </code> <li> Start a New Project in Visual Studio 7 named "Http". Choose C# ASP.NET Web Application. <li> Copy the wrapper dll to the new Project in the Http/Bin directory. <li> In the Solution Explorer, right click References and choose Add Reference. Select the .NET tab and browse to find your wrapper dll. Add it as a reference. <li> Rename WebForm1.aspx to Http.aspx. <li> Open Http.aspx in the editor and click the HTML tag to switch to HTML view. <li> Click the "View ASPX Source" link above. Copy the text from the resulting page and paste this text entirely over the text on Http.aspx in the editor. <li> Remove the "xmp" html tags from the beginning and end of Http.aspx. These were used so the HTML wouldn't be parsed by the browser. <li> Click the Design Tab to switch to design view. Double click the button to open the .cs class for editing. Click the "View Codebehind (.cs) Source" link above. Copy the text from the resulting page and paste this text entirely over the text on Http.aspx.cs in the editor. <li> Click Debug, Start Without Debugging to start the project. </li> </ul> </font> </body> </HTML>