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.
Results 1 to 10 of 10
Hybrid View
- 26 Apr. 2013 10:24pm #1There's nothing ideal about being real, there's so many flaws to cover and conceal.
- 26 Apr. 2013 10:52pm #2Code:
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)
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