Quote Originally Posted by Hawkin View Post
Actually I've been experimenting with the IE registry (especially with proxy handling) and I wrote down the key needed:

Code:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
The REG_SZ "ProxyServer" defines the Proxy server as an "addressort" type, the REG_DWORD "ProxyEnable" is set to 1 if the proxy is enabled in IE (0 otherwise).
If you call InternetOpen with INTERNET_OPEN_TYPE_PRECONFIG, WinINet will use these values, as explained in 'setting access types'.

You can set the proxy username and password using InternetSetOption as explained in 'proxy authentication'.