Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 13th, 2004, 06:38 AM
Registered User
 
Join Date: Aug 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default How Can I Delete Cookie files.

How Can I Delete Cookie files.
???:D

 
Old August 13th, 2004, 08:33 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 231
Thanks: 0
Thanked 0 Times in 0 Posts
Default

In VB or in IE (Internet Explorer)?

If you are in IE, then choose 'Internet Options...' from the 'Tools' menu and click the 'Delete Cookies...' button.

In VB you can delete the cookie files (files with a .txt extension) from the 'C:\Documents and Settings\Username\Cookies\' directory. There may be a way of doing this through a component or object model but I do not know if it.

Regards
Owain Williams
 
Old August 13th, 2004, 10:44 AM
Registered User
 
Join Date: Aug 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by owain
 In VB or in IE (Internet Explorer)?

If you are in IE, then choose 'Internet Options...' from the 'Tools' menu and click the 'Delete Cookies...' button.

In VB you can delete the cookie files (files with a .txt extension) from the 'C:\Documents and Settings\Username\Cookies\' directory. There may be a way of doing this through a component or object model but I do not know if it.

Regards
Owain Williams

Thank you for all the information.
I intended to VB, anyway I found a Code, that use an few API Function.
DeleteUrlCacheEntry,FindFirstUrlCacheEntry, etc. If any body want to search for code, the first function is enough for "search-key".

This functions let's you delete cookie and any file in the cache folder, and may be some more options (I did not check it).

I hop that's info will help some body.

by the way my code is from API-Guide(KPD TEAM).









Similar Threads
Thread Thread Starter Forum Replies Last Post
delete cache files quickly Maxxim BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 September 4th, 2007 09:07 AM
How Can I Delete Cookie files. MICZ VB How-To 4 August 18th, 2007 04:56 AM
Can't delete cookie...! Snib Beginning PHP 9 July 15th, 2007 10:32 PM
delete files in the server miguel.ossa Classic ASP Basics 1 September 5th, 2005 12:15 PM
Delete Files qazi_nomi Classic ASP Basics 7 October 18th, 2004 06:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.