Solved

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

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

762 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

19 Experts available now in Live!

Get 1:1 Help Now