Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Delete all offline content

8 views
Skip to first unread message

Frank H.

unread,
Jun 19, 2006, 5:19:02 AM6/19/06
to
Hello NG,

In my MFC/VC7.1 application I host the WebBrowser Control via CHTMLView.

When I exit my programm, I want to clear all the temporary internet files
in the TIF folder.

I have found the code example from KB815718 on
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B815718

The example clears not all the contents from the TIF like the 'delete all
offline contents' from the internet explorer options.

I've tried to modify the example with FindNextUrlCacheEntryEx with several
options,
but no luck.

Is there any way, to delete all the temporary internet files with all
offline contents programmatically?

With kind regards
Frank

Walter Wang [MSFT]

unread,
Jun 20, 2006, 2:49:18 AM6/20/06
to
Hi Frank,

Thank you for your post!

This is a quick note to let you know that I am performing research on this
issue and will get back to you as soon as possible. I appreciate your
patience.

Regards,
Walter Wang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Frank H.

unread,
Jun 20, 2006, 4:13:01 AM6/20/06
to
Hi Wang,

Thank you for your response!

Regards,
Frank

Walter Wang [MSFT]

unread,
Jun 21, 2006, 10:03:37 PM6/21/06
to
Hi Frank,

I've searched our internal support database and contacted wininet team on
this, the method described in the KB 815718 should be the correct way to
delete IE cache files. Actually it's the "classic" way to do this, there're
3 more KB on this: 326201, 311289 and 262110. Just to make sure IE or
webbrowser control is not running when deleting the cache.

I understand that your concern is about how to achieve the same
functionality with IE's "delete all offline content". Unfortunately there
seems no official documentation on this.

Frank H.

unread,
Jun 23, 2006, 6:02:01 AM6/23/06
to
Hi Walter,

Thank you very much for your research!

You said, there is no official way to clear all the offline contents of the
TIF.
Is there any chance to get an "inofficial way" to solve this problem?
Perhaps, we need to make an official support call?

This feature would be very importent for our program.

I found out, that the files, wich are not cleared, are referenced in the
index.dat
file as REDR and LEAK entrys.

Regards,
Frank

Walter Wang [MSFT]

unread,
Jun 24, 2006, 12:06:06 AM6/24/06
to
Hi Frank,

Thank you for your update.

I've done some more research on this issue and it turns out that the
checkbox "Delete all offline content" means "also delete any favorites I
have made available offline and other things marked sticky in the cache,
such as favicons". Unfortunately there're no public api to do this.

You may contact MSDN representatives to submit your questions online or
through phone:
http://msdn.microsoft.com/subscriptions/support/default.aspx
As an MSDN Subscriber, you are entitled to receive up to four support
incidents depending on your subscription level.


Regards,
Walter Wang (waw...@online.microsoft.com, remove 'online.')

0 new messages