PC Review


Reply
Thread Tools Rate Thread

Clearing IE cache and cookies through VBA?

 
 
Martin Schneider
Guest
Posts: n/a
 
      22nd Jul 2009
Hi!

I'd like to clear IE's browser cache and cookies (i.e. the temporary
internet files folder). As this doesn't seem to be possible on a file
system level, I'd like to instruct the InternetExplorer to do this.

I am familiar with the InternetExplorer.Application object but was
unable to find an object reference or sample code how to call menu items
- can anybody point me in the right direction, please?

Thanks for your support.

Martin
 
Reply With Quote
 
 
 
 
Martin Schneider
Guest
Posts: n/a
 
      22nd Jul 2009
Martin Schneider schrieb:
> Hi!
>
> I'd like to clear IE's browser cache and cookies (i.e. the temporary
> internet files folder). As this doesn't seem to be possible on a file
> system level, I'd like to instruct the InternetExplorer to do this.


Did not find a way in VBA to do this but a workaround:

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351

will do the job.

Best regards,
Martin
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IE hanging after clearing cookies =?Utf-8?B?V2luaw==?= Windows XP Internet Explorer 6 24th Mar 2007 01:55 AM
CLEARING DNS CACHE L1Pooh@comcast.net Windows XP Networking 0 26th Dec 2005 05:24 PM
Clearing cookies Rob graham Windows XP General 6 8th Apr 2005 10:20 PM
clearing cookies =?Utf-8?B?V2FsbHk=?= Windows XP General 3 5th Jan 2004 06:12 PM
Cookies and History clearing Ron Windows XP Internet Explorer 0 22nd Aug 2003 05:15 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:06 PM.