I'm writing a program that requests an asp page, gets the response (an HTML string) and saves it into a variable. The variable is used in another part of the program that 'publishes' the HTML to a popular online auction site. The trouble I'm having is that when it gets 'published' to the site, the dreaded 'black diamond question mark' pop up in place of quotes and special (and some blank/non-special) characters throughout the page.
Here's my request:
Dim mywebReq As WebRequest
Dim mywebResp As WebResponse
Dim sr As StreamReader
Dim strHTML As String
mywebReq = WebRequest.Create("http://myasppage.asp")
mywebResp = mywebReq.GetResponse()
sr = New StreamReader(mywebResp.GetResponseStream)
strHTML = sr.ReadToEnd
Through searching I' ...
Go to the complete details ...