|
-
Apr 21st, 2001, 09:23 PM
#1
Thread Starter
Lively Member
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"

-
Apr 21st, 2001, 11:19 PM
#2
Addicted Member
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.
-
Apr 22nd, 2001, 05:23 AM
#3
Thread Starter
Lively Member
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"

-
Apr 23rd, 2001, 08:01 PM
#4
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|