Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Location of temporary internet files on user's PC
Message
De
27/07/2004 09:12:50
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
27/07/2004 08:31:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00928240
Message ID:
00928254
Vues:
29
This message has been marked as the solution to the initial question of the thread.
>Hi,
>
>How my VFP app can get the directory name where are placed the "Temporary Internet Files"?
>
>In my PC it is:
>
>C:\Documents and Settings\MyUserId\Local configurations\Temporary Internet Files
>
>
>TIA,
>
>Fernando
#Define MAX_PATH 267    
#define CSIDL_INTERNET_CACHE            0x0020

Declare short SHGetSpecialFolderPath in Shell32.dll ;
    integer hwndOwner, string @ lpszPath, ;
    integer nFolder, short fCreate
lpszPath = Replicate(Chr(0),MAX_PATH)
if ( SHGetSpecialFolderPath(0,@lpszPath,CSIDL_INTERNET_CACHE,0) # 0 )
  lcFolder = left(lpszPath,at(chr(0),lpszPath)-1)
  ? lcFolder
EndIf
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform