<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" %> <% Dim d() As Byte Dim res() As Byte Dim web As New System.Net.WebClient() Dim strHtml as string web.Headers.Add("Content-Type", "application/x-www-form-urlencoded") 'd = System.Text.Encoding.ASCII.GetBytes("lstState=" & state) res = web.DownloadData("http://www.google.com/search?hl=en&safe=off&q=php&btnG=Search") strHtml = (System.Text.Encoding.ASCII.GetString(res)) 'WebBrowser1.DocumentText = strHtml response.Write(strHtml) %>