Import List?

Discussion in 'Code Snippets and Tutorials' started by Anonymous, Feb 23, 2007.

  1. Anonymous

    Anonymous Guest

    Ok, i know how to import a list into a textbox. But what i'm wondering is, how do you make your wrapper use the list?

    eg.
    Code (Text):
    1. strHTML = wrapper.PostWrapper("http://www.neopets.com/login.phtml", "username=" & txtUsername.Text & "&password=" & txtPassword.Text & "&destination=%2Fpetcentral.phtml", "http://www.neopets.com/hi.phtml")
    how would i make it do that 5 times FOR EACH USERNAME?

    ~Oddworth
     
  2. moose

    moose Level IV

    Joined:
    Jan 20, 2007
    Messages:
    934
    Likes Received:
    0
    ummm you lost me at ok
     
  3. test123

    test123 Level IV

    Joined:
    Nov 3, 2006
    Messages:
    935
    Likes Received:
    0
    Location:
    Australia
    hey

    then why bother fukin posting? if you have nothing constructive to say, don't post
     
  4. Anonymous

    Anonymous Guest

    Re: hey

    practice what you preach? xD, just jokin.

    Also, could I make it stop trying to do the wrapper thing if there are no more names in the list?

    ~Oddworth
     
  5. ricky92

    ricky92 Administrator
    Staff Member

    Joined:
    Nov 10, 2006
    Messages:
    1,866
    Likes Received:
    67
    what's the point in it??? When you log in with an account, you automatically log out of the other... However here is the code to login...

    Code (Text):
    1. Dim i as Long
    2. For i = 0 to List1.Listcount - 1
    3. *LOGIN CODE HERE*
    4. Next
     
  6. Anonymous

    Anonymous Guest

    thanks ricky! +rep