Programmatically change proxy settings

  • Thread starter Thread starter rab
  • Start date Start date
R

rab

Can anyone point me to a KB or tutorial on how to programmatically change
the proxy settings of IE (ideally using VB6)?

Thanks, RAB
 
To programmatically change the IE proxy configuration (what a user would do
via the Tools/Internet Options/Connections/LAN Settings dialog box in IE),
you can use the WinInet InternetSetOption API.

There is a KB article showing how to do this (using C, not VB however) at:
http://support.microsoft.com/default.aspx?scid=kb;en-us;226473

Also, be aware of:
http://support.microsoft.com/default.aspx?scid=kb;en-us;315466

An article showing how to use the WinInet API using VB is at:
http://support.microsoft.com/?id=259100

Note that this newsgroup (microsoft.public.windows.inetexplorer.ie6.browser)
is not a good newsgroup to ask IE programming questions. Instead, use one
of the microsoft.public.inetsdk.programming.* groups.

Stephen
 
Good post, Stephen.

--
Ramesh, MS-MVP XP Shell/UI
http://www.mvps.org/sramesh2k


"Stephen Sulzer" <sasulzer_at_seanet.com> wrote in message
To programmatically change the IE proxy configuration (what a user would do
via the Tools/Internet Options/Connections/LAN Settings dialog box in IE),
you can use the WinInet InternetSetOption API.

There is a KB article showing how to do this (using C, not VB however) at:
http://support.microsoft.com/default.aspx?scid=kb;en-us;226473

Also, be aware of:
http://support.microsoft.com/default.aspx?scid=kb;en-us;315466

An article showing how to use the WinInet API using VB is at:
http://support.microsoft.com/?id=259100

Note that this newsgroup (microsoft.public.windows.inetexplorer.ie6.browser)
is not a good newsgroup to ask IE programming questions. Instead, use one
of the microsoft.public.inetsdk.programming.* groups.

Stephen
 
Thank you very much.

RAB

Stephen Sulzer said:
To programmatically change the IE proxy configuration (what a user would do
via the Tools/Internet Options/Connections/LAN Settings dialog box in IE),
you can use the WinInet InternetSetOption API.

There is a KB article showing how to do this (using C, not VB however) at:
http://support.microsoft.com/default.aspx?scid=kb;en-us;226473

Also, be aware of:
http://support.microsoft.com/default.aspx?scid=kb;en-us;315466

An article showing how to use the WinInet API using VB is at:
http://support.microsoft.com/?id=259100

Note that this newsgroup (microsoft.public.windows.inetexplorer.ie6.browser)
is not a good newsgroup to ask IE programming questions. Instead, use one
of the microsoft.public.inetsdk.programming.* groups.

Stephen
 
Back
Top