Solved

Delete all files in temporary internet files  vb6

Posted on 2004-08-27
2
331 Views
Last Modified: 2012-06-27
Hello why cant i delete the  temporary internet files

I have tried the

kill command            ' says can not find file

ive tried

CreateObject("Scripting.FileSystemObject")  '  this method says permission denied

i have already obtained the virtual path and saved it as a variable
but when i try to delete,  it either says no file or permission denied.

How can i delete all files in temporary internet files  




0
Comment
Question by:Jimmyx1000
[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
2 Comments
 
LVL 7

Expert Comment

by:Burbble
ID: 11918205
I had working code for this, but I can't find it!! Grr... Here's some PSC examples:

http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=35293&lngWId=1
http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=31560&lngWId=1

-Burbble
0
 
LVL 22

Accepted Solution

by:
DarkoLord earned 500 total points
ID: 11923506
Well there is only one RIGHT way to do it... here is the example:

http://www.mvps.org/emorcillo/vb6/inet/index.shtml (Cleanning the Temporary Intenet Files folder)

Darko
0

Featured Post

Technology Partners: 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

Suggested Solutions

Title # Comments Views Activity
MsgBox 4 75
how to Classify of email (pdf attachments) 7 56
checkbox to hide entire section 10 76
VB6 calling COM DLL written in Visual Studio 2003 6 57
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

734 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