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 11:16:37
 
 
À
27/07/2004 09:12:50
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00928240
Message ID:
00928318
Vues:
31
Thanks Cetin, it worked fine!

Regards,

Fernando

>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform