[RESOLVED] [2005] Return HTML Source without using WebBrowser Control. Possible?
I have an application that I wrote that uses a WebBrowser Control to go to a page and send post data, and then reads the html source to get results. It works perfectly, however, I was wondering if it is possible to accomplish the same thing without using a webBrowser control. I looked into the HTTPRequest Namespace and wasn't able to come up with anything that worked. Anyone have any ideas or suggestions?
Re: [2005] Return HTML Source without using WebBrowser Control. Possible?
Re: [2005] Return HTML Source without using WebBrowser Control. Possible?
Resolved this one on my own, ended up using Net.WebClient. Had it right the first time i tried, but my home machine had an installation error with the .net framework... >.< Oh well.
In case anyone is wondering
VB Code:
Dim client As New Net.WebClient
Dim strHTML As String = client.UploadString("URL", "POST", "PostData")