RainerStadelmann
December 20th, 1999, 08:51 AM
HELP HELP HELP HELP HELP HELP
On our LAN I am trying to make a connetion to the internet with visual basic via a PROXY-server. Our proxy requires a username and a password. I tried to connect with the WINSOCK1-control and the INET-control but without success!!!
=> with the WINSOCK1-control I could not find a way to select a proxy
=> with INET-control the Inet1.AccessType and Inet1.Proxy-Name can be set, but whats about the username and password for the proxy??? (i think the Inet1.UserName and Inet1.Password cannot be used, because this is used for the target URL!?)
I tried this:
Var1:
Inet1.AccessType = icNamedProxy
Inet1.Proxy = "147.50.23.111:8080"
Inet1.UserName = "e1105"
Inet1.Password = "xxx"
=> "Proxy authorization required" was the result!!!
Var2:
Inet1.AccessType = icNamedProxy
Inet1.Proxy = "147.50.23.111:8080?user=e1105&password=xxx"
=> "Proxy authorization required" was the result!!!
My question is:
=> Is there A way with visual basic to do this????
PLEASE, PLEASE give me a feedback!!!! - many many thanks!!!
On our LAN I am trying to make a connetion to the internet with visual basic via a PROXY-server. Our proxy requires a username and a password. I tried to connect with the WINSOCK1-control and the INET-control but without success!!!
=> with the WINSOCK1-control I could not find a way to select a proxy
=> with INET-control the Inet1.AccessType and Inet1.Proxy-Name can be set, but whats about the username and password for the proxy??? (i think the Inet1.UserName and Inet1.Password cannot be used, because this is used for the target URL!?)
I tried this:
Var1:
Inet1.AccessType = icNamedProxy
Inet1.Proxy = "147.50.23.111:8080"
Inet1.UserName = "e1105"
Inet1.Password = "xxx"
=> "Proxy authorization required" was the result!!!
Var2:
Inet1.AccessType = icNamedProxy
Inet1.Proxy = "147.50.23.111:8080?user=e1105&password=xxx"
=> "Proxy authorization required" was the result!!!
My question is:
=> Is there A way with visual basic to do this????
PLEASE, PLEASE give me a feedback!!!! - many many thanks!!!