How to find when the application started
Peer-to-peer LAN messenger built with Mailslot API functions
Testing serial ports
Using Month Calendar Control (VFP9, Comctl32.dll)
A client for testing non-blocking Winsock server
Bitmap Class for Visual FoxPro application
Copying picture of the active form to the Clipboard using Enhanced Metafile API functions
Enumerating raw input devices attached to the system (keyboard, mouse, human interface device)
How to download a file from HTTP server using URL Monikers functions
How to enumerate logon sessions on local computer
Obtaining a handle to the desktop associated with the calling thread
PocketPC: custom RAPI class for executing routines on remote Windows CE device
Using the DrawText function
Accessing LSA Policy object (Local Security Authority)
Enumerating network resources
Enumerating Processes -- WinNT
How to extract frames from AVI files
Obtaining physical parameters for a drive: sectors, clusters, cylinders...
Simple printer queue monitor: deletes, pauses, resumes print jobs for local printer
Using vendor-neutral SQL constructs
GDI+: saving image of FoxPro form to graphics file (BMP, GIF, JPG, PNG, TIF)
Generating UUID values from numbers
How to enumerate sessions and processes on a specified terminal server
Reading and setting the priority class values for the current process and thread
Other pages with examples: << >> 1 2 3 4 5 6 7  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
How to delete IE cookies, clear IE history and delete files in Temporary Internet Files directory
User rating: 0/10 (0 votes)
Before you begin: The following example presents session class CacheEntry and collection class CacheEntries. The latter, when created, enumerates Internet cache entries for a given search pattern.
Depending on the search pattern the enumerated can be
visited web pages
cached Internet files
If you choose complete enumeration (empty search pattern or *.* ), it may take long time, like 5..10 minutes, if there are many cached files on the computer.
Whichever cache entries have been enumerated, they can be deleted through DeleteCacheEntry and DeleteCacheEntries methods of the collection class.
Note that this is all about Internet Explorer and WinINet. Other browsers most likely use different caching support.
Members area. Log in to view this example.
User rating: 0/10 (0 votes) 6324 bytes Created: 2004-10-15 18:04:52 Modified: 2011-12-10 09:20:22 Visits in 7 days: 76 Listed functions: My comment: For FoxPro versions 3..7 you must tinker the code a little bit.
Visiting a single web page may create tens if not a hundred cached files on your computer. Just for fun: clear cookies, history and temporary internet files and start visiting different web pages. If this is your first experience, most likely you will be amazed.
I have all third-party cookies blocked in my IE settings. Word Index links for this example:
Translate this page:
Copyright © 2001-2017
Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use.
The information on this page is presented AS IS, meaning that you may use it at your own risk.
Microsoft Visual FoxPro
and Windows are trade marks
of Microsoft Corp.
All other trademarks are the property of their respective owners.
PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.6.38), the Open Source standard SQL database,
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc.