Solved

Programming challenge (Modify Internet Explorer)

Posted on 2004-04-22
3
297 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
[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
3 Comments
 
LVL 52

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
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 …

752 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