Thanks for this - it works like a dream.
Compiled the code snippet into a DLL - referenced that from within my service 
and it works.

Thanks again!

-----Original Message-----
From: [email protected]
[mailto:[email protected]]on Behalf Of Raghupathi
Kamuni
Sent: 19 May 2010 07:04
To: [email protected]
Subject: Re: [DotNetDevelopment] Changing IE Proxy settings with VB.NET


You have to use InternetSetOption() from WinInet.dll, look at the c# sample
in the below link

http://huddledmasses.org/setting-windows-internet-connection-proxy-from-c/

On Tue, May 18, 2010 at 7:08 PM, nik <[email protected]> wrote:

> Hey guys,
>
> Has anyone got any sample code / ideas how to change the proxy
> settings of IE from within an VB.NET <http://vb.net/> windows application
> / windows
> service? I'm trying to write an admin app that will allow our remote
> users to move aound the various sites of our network without having to
> change proxy settings every time they connect to a new IP address. The
> App basically will hang around and look for any IP changes, then
> change the proxy setting in IE accordingly.
>
> Any help on this would be most appreciated.
>
> Thanks for your time.
>
>
> Nik.
>

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 9.0.819 / Virus Database: 271.1.1/2880 - Release Date: 05/17/10 
19:26:00

Reply via email to