Quote Originally Posted by Kitsune View Post
I have the readfile function for ease of access.

(Wrapper.ReadFile(X, X2, XSquared)) Reason it's in a class is so i don't have to re-code it every time i have a project with loads info from a txt.

ByRef HTML <--- this is used to return html from a webpage (so dim html as string, and insert it in said place and you will get the html code in a string, used to get other strings from html, should not return the same as WebRequest >.>)

Might add ClearCookies soon.
Code:
Dim returnValue, HTML As String
With New Wrapper
	returnValue = .WebRequest(HTML, "http://www.gaiaonline.com/", "GET", String.Empty, String.Empty)
End With

System.IO.File.WriteAllText("returnValue.html", returnValue)
System.IO.File.WriteAllText("HTML.html", HTML)
HTML and returnValue will be holding the same value.

It'd be pretty useful to have .WebRequest return true if it successfully executed or false if it timed out or there was an exception/etc