467,081 Members | 990 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,081 developers. It's quick & easy.

Config Internet Explorer

Hi,
I want Internet Explorer to use localhost server (127.0.0.1) as proxy server
instead of connect directly to the ISP. How to do this (by programming) ?
Thanks
Nov 15 '05 #1
  • viewed: 2998
Share:
1 Reply

" #Hai" <Re**********@Mail.com> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...
Hi,
I want Internet Explorer to use localhost server (127.0.0.1) as proxy server instead of connect directly to the ISP. How to do this (by programming) ? Thanks

Here's an example in C++ to get you started:
http://www.codeproject.com/internet/changeproxy1.asp

Basically, you have to create an array of
INTERNET_PER_CONN_OPTION objects and set their
various values to configure the proxy/connection
settings and pass it to the InternetSetOption function
in WININET.DLL.

In general, though, I'd recommend you not start messing with
your user's proxy settings as this has various security
implications and in fact, some virus/system scanners may try
to block you from doing it.

You should open the Internet Explorer settings dialog during
your setup and prompt the user to fill in the blanks.

I suppose you could have a msgbox asking the user whether
they wanted you to do it programmatically, that would be
ok.

But it looks like it's a pain in the butt to change the
settings using InternetSetOption.

-c
Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by CathieC | last post: by
reply views Thread by Werner Elflein | last post: by
3 posts views Thread by Jimmy | last post: by
1 post views Thread by Harold Howe | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.