Hello,
I use "Microsoft Internet Transfer Control" to donwload filw. Will you tell me how to specify user/password for proxy?
Note: My proxy is "Microsfot Proxy 2.0" and Authentication is NTLM
Setting the AccessType Property: Using a Proxy Server
In order to make any kind of connection to the Internet, you must determine how your computer is connected to the Internet. If you are on an intranet, you will probably be connected to the Internet via a proxy server.
In short, a proxy server is an intermediary between your computer and the Internet. All computers on an intranet that need to connect to the Internet must do so through a proxy server. Thus the proxy functions as a firewall between the intranet and the Internet, discarding invalid end-user and external requests, thereby protecting the intranet from hostile actions.
To find the proxy settings on your computer
Note The following steps apply only to the Windows 95 and Windows NT® 4.0 systems.
On the Taskbar of your computer, click Start.
On the Settings item, click the Control Panel.
Double-click the Internet icon.
On the Internet Properties dialog box, click Connection.
Under Proxy Server, confirm that the Connect Through a Proxy Server check box is selected.
If it is selected, click Settings. The name of proxy servers you use for various protocols will be found in the dialog box. If no proxy is defined, contact your system administrator for available proxy servers.
If you intend to use a proxy other than that named in the dialog box, set the AccessType property to icNamedProxy (2). Then set the Proxy property to the name of the proxy, as shown in the code below:
On the other hand, if you are content to use the default proxy (as determined by your computer's registry), ignore the Proxy property, and simply set the AccessType to icUseDefault (0).
The settings for AccessType are shown in the following table:
Constant Value Description
icUseDefault 0 (Default) Use Defaults. The control uses default settings found in the registry to access the Internet.
icDirect 1 Direct to Internet. The control has a direct connection to the Internet.
icNamedProxy 2 Named Proxy. Instructs the control to use the proxy server specified in the Proxy property.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.