Solved

Programming challenge (Modify Internet Explorer)

Posted on 2004-04-22
3
273 Views
Last Modified: 2010-04-24
I have been having trouble with a programming challenge given to me.

The exact text lies below:



Create a program the deletes your internet cache every time the refresh button is clicked. This challenge has the following restrictions:

Must be for Interent Explorer 4.0 and higher.
Must be from VB .NET



I'm looking for something that will install or replace the Refresh button info and then delete the internet cache but do not know which folder either is in.

Only 125 points, sorry, I just started.
0
Comment
Question by:codemann8
3 Comments
 
LVL 49

Accepted Solution

by:
Ryan Chong earned 125 total points
ID: 10889942
I can 'hopefully' delete the internet page cache by using this 2 way:

1st: In your IE browser, always try to press Ctrl+F5 instead of F5 to refresh the pages, that's force the IE browser to get a New page from Internet not from cache.

2nd: Do it programmingly, but Not in real IE Browser, by using DeleteUrlCacheEntry API:

Example:

Declare Function DeleteUrlCacheEntry Lib "wininet.dll" Alias "DeleteUrlCacheEntryA" (ByVal lpszUrlName As String) As Integer

Use it like:
Dim myURL As String = "http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VB.NET/Q_20963481.html"
DeleteUrlCacheEntry myURL
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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

919 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

18 Experts available now in Live!

Get 1:1 Help Now