Private Declare Function DeleteUrlCacheEntry Lib "Wininet.dll" _
Alias "DeleteUrlCacheEntryA" _
(ByVal lpszUrlName As String)
As Long
Sub ClearCache(strURL As String)
If DeleteUrlCacheEntry(strURL) = 0 Then
MsgBox "The cached couldn't be cleared, so" & _
vbCrLf & "possibly you won't get the latest.", , _
"clearing cache"
End If
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.