Results 1 to 8 of 8

Thread: Visual Basic 6 versus latest Visual Basic

  1. #1

    Joined
    Jan 2012
    Posts
    62
    Userbars
    1
    Thanks
    22
    Thanked
    11/2
    DL/UL
    13/2
    Mentioned
    4 times
    Time Online
    3h 50m
    Avg. Time Online
    N/A

    Visual Basic 6 versus latest Visual Basic

    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.

  2. #2

    Joined
    Dec 2011
    Posts
    843
    Pronouns
    she/her
    Userbars
    3
    Thanks
    313
    Thanked
    346/213
    DL/UL
    34/2
    Mentioned
    179 times
    Time Online
    1d 19h 11m
    Avg. Time Online
    N/A
    I could test it for you, and it might be your wrapper too. I will see what I can do for you.

  3. The Following User Says Thank You to Ashleys165 For This Useful Post:

    loucamente (02-19-2012)

  4. #3

    Joined
    Jan 2012
    Posts
    62
    Userbars
    1
    Thanks
    22
    Thanked
    11/2
    DL/UL
    13/2
    Mentioned
    4 times
    Time Online
    3h 50m
    Avg. Time Online
    N/A
    Quote Originally Posted by Ashleys165 View Post
    I could test it for you, and it might be your wrapper too. I will see what I can do for you.
    It's true, I was thinking about be my wrapper too... Something about wait response or implementation codes not necessary.
    Anyway, test my program please?

  5. #4
    n00ne's Avatar
    Joined
    Jan 2012
    Posts
    139
    Userbars
    1
    Thanks
    32
    Thanked
    36/25
    DL/UL
    10/0
    Mentioned
    34 times
    Time Online
    17d 2h 50m
    Avg. Time Online
    5m
    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.

  6. The Following User Says Thank You to n00ne For This Useful Post:

    Ashleys165 (02-18-2012)

  7. #5

    Joined
    Dec 2011
    Posts
    843
    Pronouns
    she/her
    Userbars
    3
    Thanks
    313
    Thanked
    346/213
    DL/UL
    34/2
    Mentioned
    179 times
    Time Online
    1d 19h 11m
    Avg. Time Online
    N/A
    Quote Originally Posted by loucamente View Post
    It's true, I was thinking about be my wrapper too... Something about wait response or implementation codes not necessary.
    Anyway, test my program please?
    What wrapper are you using? And where is your program available?

  8. The Following User Says Thank You to Ashleys165 For This Useful Post:

    loucamente (02-19-2012)

  9. #6

    Joined
    Jan 2012
    Posts
    62
    Userbars
    1
    Thanks
    22
    Thanked
    11/2
    DL/UL
    13/2
    Mentioned
    4 times
    Time Online
    3h 50m
    Avg. Time Online
    N/A
    Quote Originally Posted by Ashleys165 View Post
    What wrapper are you using? And where is your program available?
    (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 ----------

    Quote Originally Posted by n00ne View Post
    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.
    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.

  10. #7

    Joined
    Dec 2011
    Posts
    843
    Pronouns
    she/her
    Userbars
    3
    Thanks
    313
    Thanked
    346/213
    DL/UL
    34/2
    Mentioned
    179 times
    Time Online
    1d 19h 11m
    Avg. Time Online
    N/A
    The program works fine for me! Excellent. I say leave the wrapper and other stuffs. Its all good.

  11. The Following User Says Thank You to Ashleys165 For This Useful Post:

    loucamente (02-19-2012)

  12. #8

    Joined
    Jan 2012
    Posts
    62
    Userbars
    1
    Thanks
    22
    Thanked
    11/2
    DL/UL
    13/2
    Mentioned
    4 times
    Time Online
    3h 50m
    Avg. Time Online
    N/A
    Quote Originally Posted by Ashleys165 View Post
    The program works fine for me! Excellent. I say leave the wrapper and other stuffs. Its all good.
    Thanks you, I liked your Daily Doer too. I'm going test some possibilities, like don't use the wrapper as another class where I do a object and ask Joe about dlls

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •