I could test it for you, and it might be your wrapper too. I will see what I can do for you.
Well, I see that my programs written in VB.NET are more slow to load the webpages. I use microsoft visual studio 2010 and the latest version of VB. Someone can tell me a dll or anything that I can change or add for my programs to load pages more fastest? I don't know if is my internet, but if someone can test my "daily links visiter" and tell me, I say thanks.![]()
I could test it for you, and it might be your wrapper too. I will see what I can do for you.
loucamente (02-19-2012)
Considering you are only creating a daily doer it should not be complex enough to slow it down nor should it be noticeably slower just because it's in .net.
Ashleys165 (02-18-2012)
loucamente (02-19-2012)
(you need an account to see links)
The code for load a page is currently:
Public Function LoadPage(ByRef URL As String, Optional ByVal Referer As String = "") As String
On Error Resume Next
Dim request As HttpWebRequest = WebRequest.Create(URL)
request.UserAgent = UserAgent
If UseProxy Then
request.Proxy = New System.Net.WebProxy(ProxyIp & ":" & ProxyPort)
End If
request.Referer = Referer
If UseCookies = True Then request.CookieContainer = Me.NeoCookies
Dim response1 As HttpWebResponse = request.GetResponse()
Dim reader1 As StreamReader = New StreamReader(response1.GetResponseStream())
Dim f As String = New StreamReader(response1.GetResponseStream()).ReadTo End()
response1.Close() : reader1.Close()
LastResponse = f
Return f
End Function
I only need make neopets to think that I visited the url e get the html code of this page as return.
---------- Post added at 07:38 PM ---------- Previous post was at 07:32 PM ----------
I'm not creating a daily doer. I did it. The title of topic is "Visual Basic 6 versus latest Visual Basic" because I see that the infamous joe's aplication has a very fastest response time (for example). The daily doer isn't the center of it.
The program works fine for me! Excellent. I say leave the wrapper and other stuffs. Its all good.
loucamente (02-19-2012)