|
-
December 20th, 1999, 09:51 AM
#1
Internet via Proxy with Winsock/Inet
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!!!
-
February 4th, 2000, 12:44 PM
#2
Re: Internet via Proxy with Winsock/Inet
You have to wait till the proxy sends you an confirmation message
or control your Proxy settings
Look if if system is properly configured (PPP, SQL,Acess privileges)
[email protected]
-
February 4th, 2000, 01:24 PM
#3
Re: Internet via Proxy with Winsock/Inet
I'm not sure of this, but it's worth a try
Try this when using winsock:
note that there are several ways of passing a password, depends on your proxy's configuration
before sending your request, send this line first:
user assword
OR
user@password
OR
USER user
AND (next line)
PASS password
OR
PROXY authorization user assword
Tom Cannaerts
[email protected]
The best way to escape a problem, is to solve it.
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
|