Solved

Programming challenge (Modify Internet Explorer)

Posted on 2004-04-22
3
301 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

627 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