Solved

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

Posted on 2009-04-02
2
2,290 Views
Last Modified: 2013-11-23
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
Comment
Question by:tfield98
2 Comments
 
LVL 1

Accepted Solution

by:
Tueblo earned 500 total points
ID: 24065261
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
 

Author Closing Comment

by:tfield98
ID: 31565882
Perfect. Thanks alot.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question