Results 1 to 4 of 4

Thread: Trying to get to go past this url.

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2001
    Location
    The Netherlands
    Posts
    94
    I'm trying to get past this url in VB 6.0

    I added one Inet control and in the properties field i put a username and password

    http://fantasy.hoops.smallworld.com/home.html

    Login is Teamname
    Password is password.

    This is my code
    Code:
    Private Sub Command1_Click()
    Dim b() As Byte
    Dim intCount As Integer
    Dim strData As String
    
    Inet1.Cancel ' Stops any current operations
    
    b() = Inet1.OpenURL("http://fantasy.hoops.smallworld.com/home.html", icByteArray)
    
    For intCount = 0 To UBound(b) - 1
    
      strData = strData & Chr(b(intCount))
    
    Next intCount
    
    txtTest.Text = strData
    
    End Sub
    When i see the code i see that it didn't do anything with the user/pass...

    Anyone have any ideas/suggetions ?

    Thanx in advance.
    "Against All Odds"

  2. #2
    Addicted Member Active's Avatar
    Join Date
    Jan 2001
    Location
    Lat: 13° 4' 46" N, Long: 80° 15' 20" E
    Posts
    209
    What an Inet control refers as Password is not the website's membership passwords. It refers to the server authentication password. By default when you request a page from a server you are anonymously authenticated. If the Service requires you to use non-anonymous authentications like Basic authentication then Inet control can send those password at the time
    of server authentication.
    If you can't beat your computer at chess, try kickboxing !!!
    [Download Tag Editing Tools.]

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Apr 2001
    Location
    The Netherlands
    Posts
    94
    Ok, thanx for that info.

    But even when i login trhough normal webbrowser, i can't get to the specified pages behind the pass with vb.
    I don't know how i can do this...anyone have any suggestions ?
    "Against All Odds"

  4. #4
    New Member
    Join Date
    Apr 2001
    Posts
    12
    Do you mean you are logging in from a browser window in you VB application? That's what you will have to do.....

Posting Permissions

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



Click Here to Expand Forum to Full Width