Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to access Internet Properties thru code

Status
Not open for further replies.

dennis22

Programmer
Oct 8, 2002
32
Greetings to all!

I would like to ask if anyone knows how to access the "Internet Properties" programmatically. Properties such as the General, Security, Privacy, Content, Connections, Programs, Advanced Tabs. I would like to know if it's possible to change the settings under the "Temporary Internet Files" the "Check for newer versions of stored pages:" option thru code.

Thanks!
 
abcdennis22,

A lot of these settings are stored in the following Registry key:

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer
HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Domains

However, I'd be cautious about altering them. These are usually items over which the user (or administrator) expects to exert control, and it is not very polite to override their choices. Of course, I don't know what your circumsances are .. you might well have a good reason.

Mike


Mike Lewis
Edinburgh, Scotland

My Visual Foxpro web site: My Crystal Reports web site:
 
I found it in the registry sir, but I don't know where to start. I am currently using WinXP, in the Internet Properties of "Temporary Internet Files" the "Check for newer versions of stored pages:" I would like to set the setting to "Every visit to the page" option thru code and return its original setting after I have gathered the information I need in the site. The site handles international time.
 
If you can identify the key you may be able to read it with this:

Read the Windows Registry
faq184-4674



Jim Osieczonek
Delta Business Group, LLC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top