Site Map       
Home
Web Services
XML in .NET
XML Schema
XSLT and XPath
XML Serialization
Database and XML
XML Query
ASP.NET
Contact Info

.NET Notes

Sample Program Code:

Dim req As WebRequest = WebRequest.Create(TextBox1.Text)

Dim result As WebResponse = req.GetResponse()

Dim ReceiveStream As Stream = result.GetResponseStream()

Dim read() As Byte = New Byte(512) {}

Dim bytes As Integer = ReceiveStream.Read(read, 0, 512)

txtHTML.InnerHtml = ""

While (bytes > 0)

txtHTML.InnerHtml =  txtHTML.InnerHtml & System.Text.Encoding.ASCII.GetString(read, 0, bytes)

bytes = ReceiveStream.Read(read, 0, 512)

End While

Web File Viewer

Enter Full File URL Here:

                                         



Copyright © 2015 Seanco Technology, Inc.  All rights reserved.