Solved

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

Posted on 2009-04-02
2
2,427 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses
Course of the Month3 days, 22 hours left to enroll

630 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