• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2560
  • Last Modified:

Delphi code to change proxy settings (with InternetSetOption/wininet?)

I am looking for Delphi 7 code that read and write the checkbox under IE Options, LAN Settings, Proxy Server "Use a proxy server for your LAN) checkbox without changing the fields (Address, Port, Bypass) under this checkbox
0
tfield98
Asked:
tfield98
1 Solution
 
TuebloCommented:
Hello tfield98,

you can do that by simply reading or writing the following registry value:

Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\InternetSettings
Name: ProxyEnable
Type: DWord
Values: 0 or 1

Changing this value while IE is running has no effect.

0
 
tfield98Author Commented:
Perfect. Thanks alot.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now