Results 1 to 8 of 8

Thread: Visual Basic 6 versus latest Visual Basic

  1. #1

    Join Date
    Jan 2012
    Gender
    Posts
    63
    Thanks
    22
    Thanked 11 Times in 2 Posts


    Downloads
    13
    Uploads
    2
    Mentioned
    4 Post(s)
    Time Online
    3 h 50 m
    Avg. Time Online
    N/A
    Rep Power
    6

    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
    Dino Sherlockian
    Join Date
    Dec 2011
    Gender
    Location
    America
    Age
    18
    Posts
    844
    Thanks
    315
    Thanked 341 Times in 208 Posts


    Downloads
    34
    Uploads
    2
    Mentioned
    179 Post(s)
    Time Online
    1 d 16 h 55 m
    Avg. Time Online
    1 m
    Rep Power
    7
    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

    Join Date
    Jan 2012
    Gender
    Posts
    63
    Thanks
    22
    Thanked 11 Times in 2 Posts


    Downloads
    13
    Uploads
    2
    Mentioned
    4 Post(s)
    Time Online
    3 h 50 m
    Avg. Time Online
    N/A
    Rep Power
    6
    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
    Join Date
    Jan 2012
    Gender
    Posts
    140
    Thanks
    32
    Thanked 36 Times in 25 Posts


    Downloads
    10
    Uploads
    0
    Mentioned
    32 Post(s)
    Time Online
    17 d 2 h 50 m
    Avg. Time Online
    13 m
    Rep Power
    6
    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
    Dino Sherlockian
    Join Date
    Dec 2011
    Gender
    Location
    America
    Age
    18
    Posts
    844
    Thanks
    315
    Thanked 341 Times in 208 Posts


    Downloads
    34
    Uploads
    2
    Mentioned
    179 Post(s)
    Time Online
    1 d 16 h 55 m
    Avg. Time Online
    1 m
    Rep Power
    7
    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

    Join Date
    Jan 2012
    Gender
    Posts
    63
    Thanks
    22
    Thanked 11 Times in 2 Posts


    Downloads
    13
    Uploads
    2
    Mentioned
    4 Post(s)
    Time Online
    3 h 50 m
    Avg. Time Online
    N/A
    Rep Power
    6
    Quote Originally Posted by Ashleys165 View Post
    What wrapper are you using? And where is your program available?
    http://clraik.com/forum/downloads.php?do=file&id=40

    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
    Dino Sherlockian
    Join Date
    Dec 2011
    Gender
    Location
    America
    Age
    18
    Posts
    844
    Thanks
    315
    Thanked 341 Times in 208 Posts


    Downloads
    34
    Uploads
    2
    Mentioned
    179 Post(s)
    Time Online
    1 d 16 h 55 m
    Avg. Time Online
    1 m
    Rep Power
    7
    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

    Join Date
    Jan 2012
    Gender
    Posts
    63
    Thanks
    22
    Thanked 11 Times in 2 Posts


    Downloads
    13
    Uploads
    2
    Mentioned
    4 Post(s)
    Time Online
    3 h 50 m
    Avg. Time Online
    N/A
    Rep Power
    6
    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
  •