Solved

Programming challenge (Modify Internet Explorer)

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video discusses moving either the default database or any database to a new volume.

743 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

11 Experts available now in Live!

Get 1:1 Help Now