Discussion:
How do I disable "Use Auto Configuration script" in Internet Opts
(too old to reply)
Mike L
2005-11-30 15:36:04 UTC
Permalink
I have experimented with using InternetSetOptions and trying to pass in a
null string or configure the flag to either Direct or a specific proxy, but I
cannot seem to figure out how to simply disable the "Use Auto Configuration
script" check box in Internet options programmatically.

Any help would be greatly appreciated.
Reymarx Gereda
2005-12-08 17:41:09 UTC
Permalink
Hi Mike,

You'll have to use InternetSetOption passing the
INTERNET_OPTION_PER_CONNECTION_OPTION flag and passing an
INTERNET_PER_CONN_OPTION_LIST containing an INTERNET_PER_CONN_OPTION whose
dwOption is set to INTERNET_PER_CONN_FLAGS and the dwValue is set to
PROXY_TYPE_DIRECT.

You can see a sample on how to use this structures at
http://support.microsoft.com/default.aspx?scid=kb;en-us;226473

I hope this Helps you
--
Reymarx [MSFT]
Windows- Networking
This posting is provided "AS IS" with no warranties, and confers no rights
Post by Mike L
I have experimented with using InternetSetOptions and trying to pass in a
null string or configure the flag to either Direct or a specific proxy, but I
cannot seem to figure out how to simply disable the "Use Auto
Configuration
script" check box in Internet options programmatically.
Any help would be greatly appreciated.
Loading...