Solved

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

Posted on 2009-04-02
2
2,259 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

939 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now