Solved

Delete all files in temporary internet files  vb6

Posted on 2004-08-27
2
325 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
2 Comments
 
LVL 7

Expert Comment

by:Burbble
Comment Utility
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
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

762 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

12 Experts available now in Live!

Get 1:1 Help Now