Accueil > Forum > > > > COOKIE
COOKIE
vendredi 3 mai 2002 à 16:12:46 |
COOKIE

kalif
|
comment supprimer tout un ou plusieur cookie qui se trouve dans C:\WINDOWS\Temporary Internet Files ????
|
|
vendredi 3 mai 2002 à 17:08:28 |
Re : COOKIE

ynizon
|
Pour chopper le repertoire, tu fais:
REP=GET_DossierSpecial(32) et puis, tu delete tes fichiers avec des collections de dossier et de fichiers avec un filesystemobject par exemple. Set colFolders = REP.SubFolders For Each objFolder In colFolders Set colFiles = objFolder.Files For Each objFile In colFiles if fichier alors delete next next
Private Declare Function GetWindowsDirectory Lib "kernel32" Alias "GetWindowsDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long Private Declare Function GetSystemDirectory Lib "kernel32" Alias "GetSystemDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long
Private Declare Function SHGetPathFromIDList Lib "shell32.dll" Alias "SHGetPathFromIDListA" _ (ByVal pidl As Long, ByVal pszPath As String) As Long Private Declare Function SHGetSpecialFolderLocation Lib "shell32.dll" _ (ByVal hwndOwner As Long, ByVal nFolder As Long, pidl As ITEMIDLIST) As Long
Public Function GET_DossierSpecial(CSIDL As Long) As String Dim Formhwnd As Long Formhwnd = 0 Dim r As Long Dim sPath As String Dim IDL As ITEMIDLIST Const NOERROR = 0 Const MAX_LENGTH = 260 'fill the idl structure with the specified folder item r = SHGetSpecialFolderLocation(Formhwnd, CSIDL, IDL) If r = NOERROR Then 'Of the structure is filled, initialize and 'retrieve the path from the id list, and return 'the folder with a trailing slash appended. sPath = Space$(MAX_LENGTH) r = SHGetPathFromIDList(ByVal IDL.mkid.cb, ByVal sPath) If r Then GET_DossierSpecial = Left$(sPath, _ InStr(sPath, Chr$(0)) - 1) & "\" End If End If End Function
------------------------------- Réponse au message : -------------------------------
comment supprimer tout un ou plusieur cookie qui se trouve dans C:\WINDOWS\Temporary Internet Files ????
|
|
samedi 4 mai 2002 à 19:02:44 |
Re : COOKIE

kalif
|
il me met: Type défini par l'utilisateur non défini a
Private Declare Function SHGetSpecialFolderLocation Lib "shell32.dll" (ByVal hwndOwner As Long, ByVal nFolder As Long, pidl As ITEMIDLIST) As Long
------------------------------- Réponse au message : -------------------------------
Pour chopper le repertoire, tu fais:
REP=GET_DossierSpecial(32) et puis, tu delete tes fichiers avec des collections de dossier et de fichiers avec un filesystemobject par exemple. Set colFolders = REP.SubFolders For Each objFolder In colFolders Set colFiles = objFolder.Files For Each objFile In colFiles if fichier alors delete next next
Private Declare Function GetWindowsDirectory Lib "kernel32" Alias "GetWindowsDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long Private Declare Function GetSystemDirectory Lib "kernel32" Alias "GetSystemDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long
Private Declare Function SHGetPathFromIDList Lib "shell32.dll" Alias "SHGetPathFromIDListA" _ (ByVal pidl As Long, ByVal pszPath As String) As Long Private Declare Function SHGetSpecialFolderLocation Lib "shell32.dll" _ (ByVal hwndOwner As Long, ByVal nFolder As Long, pidl As ITEMIDLIST) As Long
Public Function GET_DossierSpecial(CSIDL As Long) As String Dim Formhwnd As Long Formhwnd = 0 Dim r As Long Dim sPath As String Dim IDL As ITEMIDLIST Const NOERROR = 0 Const MAX_LENGTH = 260 'fill the idl structure with the specified folder item r = SHGetSpecialFolderLocation(Formhwnd, CSIDL, IDL) If r = NOERROR Then 'Of the structure is filled, initialize and 'retrieve the path from the id list, and return 'the folder with a trailing slash appended. sPath = Space$(MAX_LENGTH) r = SHGetPathFromIDList(ByVal IDL.mkid.cb, ByVal sPath) If r Then GET_DossierSpecial = Left$(sPath, _ InStr(sPath, Chr$(0)) - 1) & "\" End If End If End Function
------------------------------- Réponse au message : -------------------------------
comment supprimer tout un ou plusieur cookie qui se trouve dans C:\WINDOWS\Temporary Internet Files ????
|
|
mardi 14 mai 2002 à 09:06:25 |
Re : COOKIE

ynizon
|
Oui, désolé jai oublié cette partie. Public type SHITEMID cb as long abID as byte end type
Public type ITEMIDLIST mkid as SHITEMID end type
------------------------------- Réponse au message : -------------------------------
il me met: Type défini par l'utilisateur non défini a
Private Declare Function SHGetSpecialFolderLocation Lib "shell32.dll" (ByVal hwndOwner As Long, ByVal nFolder As Long, pidl As ITEMIDLIST) As Long
------------------------------- Réponse au message : -------------------------------
Pour chopper le repertoire, tu fais:
REP=GET_DossierSpecial(32) et puis, tu delete tes fichiers avec des collections de dossier et de fichiers avec un filesystemobject par exemple. Set colFolders = REP.SubFolders For Each objFolder In colFolders Set colFiles = objFolder.Files For Each objFile In colFiles if fichier alors delete next next
Private Declare Function GetWindowsDirectory Lib "kernel32" Alias "GetWindowsDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long Private Declare Function GetSystemDirectory Lib "kernel32" Alias "GetSystemDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long
Private Declare Function SHGetPathFromIDList Lib "shell32.dll" Alias "SHGetPathFromIDListA" _ (ByVal pidl As Long, ByVal pszPath As String) As Long Private Declare Function SHGetSpecialFolderLocation Lib "shell32.dll" _ (ByVal hwndOwner As Long, ByVal nFolder As Long, pidl As ITEMIDLIST) As Long
Public Function GET_DossierSpecial(CSIDL As Long) As String Dim Formhwnd As Long Formhwnd = 0 Dim r As Long Dim sPath As String Dim IDL As ITEMIDLIST Const NOERROR = 0 Const MAX_LENGTH = 260 'fill the idl structure with the specified folder item r = SHGetSpecialFolderLocation(Formhwnd, CSIDL, IDL) If r = NOERROR Then 'Of the structure is filled, initialize and 'retrieve the path from the id list, and return 'the folder with a trailing slash appended. sPath = Space$(MAX_LENGTH) r = SHGetPathFromIDList(ByVal IDL.mkid.cb, ByVal sPath) If r Then GET_DossierSpecial = Left$(sPath, _ InStr(sPath, Chr$(0)) - 1) & "\" End If End If End Function
------------------------------- Réponse au message : -------------------------------
comment supprimer tout un ou plusieur cookie qui se trouve dans C:\WINDOWS\Temporary Internet Files ????
|
|
mardi 14 mai 2002 à 14:52:11 |
Re : COOKIE

kalif
|
un objet est requis
a partir de:
Set colFolders = REP.SubFolders For Each objFolder In colFolders Set colFiles = objFolder.Files For Each objFile In colFiles 'if fichier alors delete Next Next
------------------------------- Réponse au message : -------------------------------
Oui, désolé jai oublié cette partie. Public type SHITEMID cb as long abID as byte end type
Public type ITEMIDLIST mkid as SHITEMID end type
------------------------------- Réponse au message : -------------------------------
il me met: Type défini par l'utilisateur non défini a
Private Declare Function SHGetSpecialFolderLocation Lib "shell32.dll" (ByVal hwndOwner As Long, ByVal nFolder As Long, pidl As ITEMIDLIST) As Long
------------------------------- Réponse au message : -------------------------------
Pour chopper le repertoire, tu fais:
REP=GET_DossierSpecial(32) et puis, tu delete tes fichiers avec des collections de dossier et de fichiers avec un filesystemobject par exemple. Set colFolders = REP.SubFolders For Each objFolder In colFolders Set colFiles = objFolder.Files For Each objFile In colFiles if fichier alors delete next next
Private Declare Function GetWindowsDirectory Lib "kernel32" Alias "GetWindowsDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long Private Declare Function GetSystemDirectory Lib "kernel32" Alias "GetSystemDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long
Private Declare Function SHGetPathFromIDList Lib "shell32.dll" Alias "SHGetPathFromIDListA" _ (ByVal pidl As Long, ByVal pszPath As String) As Long Private Declare Function SHGetSpecialFolderLocation Lib "shell32.dll" _ (ByVal hwndOwner As Long, ByVal nFolder As Long, pidl As ITEMIDLIST) As Long
Public Function GET_DossierSpecial(CSIDL As Long) As String Dim Formhwnd As Long Formhwnd = 0 Dim r As Long Dim sPath As String Dim IDL As ITEMIDLIST Const NOERROR = 0 Const MAX_LENGTH = 260 'fill the idl structure with the specified folder item r = SHGetSpecialFolderLocation(Formhwnd, CSIDL, IDL) If r = NOERROR Then 'Of the structure is filled, initialize and 'retrieve the path from the id list, and return 'the folder with a trailing slash appended. sPath = Space$(MAX_LENGTH) r = SHGetPathFromIDList(ByVal IDL.mkid.cb, ByVal sPath) If r Then GET_DossierSpecial = Left$(sPath, _ InStr(sPath, Chr$(0)) - 1) & "\" End If End If End Function
------------------------------- Réponse au message : -------------------------------
comment supprimer tout un ou plusieur cookie qui se trouve dans C:\WINDOWS\Temporary Internet Files ????
|
|
mercredi 22 mai 2002 à 18:23:18 |
Re : COOKIE

tohcas
|
Est-ce que la commande "SHELL("del c:\windows\Temporary Internet File\*.txt") ne serait pas plus appropriée ?
Orion
------------------------------- Réponse au message : -------------------------------
un objet est requis
a partir de:
Set colFolders = REP.SubFolders For Each objFolder In colFolders Set colFiles = objFolder.Files For Each objFile In colFiles 'if fichier alors delete Next Next
------------------------------- Réponse au message : -------------------------------
Oui, désolé jai oublié cette partie. Public type SHITEMID cb as long abID as byte end type
Public type ITEMIDLIST mkid as SHITEMID end type
------------------------------- Réponse au message : -------------------------------
il me met: Type défini par l'utilisateur non défini a
Private Declare Function SHGetSpecialFolderLocation Lib "shell32.dll" (ByVal hwndOwner As Long, ByVal nFolder As Long, pidl As ITEMIDLIST) As Long
------------------------------- Réponse au message : -------------------------------
Pour chopper le repertoire, tu fais:
REP=GET_DossierSpecial(32) et puis, tu delete tes fichiers avec des collections de dossier et de fichiers avec un filesystemobject par exemple. Set colFolders = REP.SubFolders For Each objFolder In colFolders Set colFiles = objFolder.Files For Each objFile In colFiles if fichier alors delete next next
Private Declare Function GetWindowsDirectory Lib "kernel32" Alias "GetWindowsDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long Private Declare Function GetSystemDirectory Lib "kernel32" Alias "GetSystemDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long
Private Declare Function SHGetPathFromIDList Lib "shell32.dll" Alias "SHGetPathFromIDListA" _ (ByVal pidl As Long, ByVal pszPath As String) As Long Private Declare Function SHGetSpecialFolderLocation Lib "shell32.dll" _ (ByVal hwndOwner As Long, ByVal nFolder As Long, pidl As ITEMIDLIST) As Long
Public Function GET_DossierSpecial(CSIDL As Long) As String Dim Formhwnd As Long Formhwnd = 0 Dim r As Long Dim sPath As String Dim IDL As ITEMIDLIST Const NOERROR = 0 Const MAX_LENGTH = 260 'fill the idl structure with the specified folder item r = SHGetSpecialFolderLocation(Formhwnd, CSIDL, IDL) If r = NOERROR Then 'Of the structure is filled, initialize and 'retrieve the path from the id list, and return 'the folder with a trailing slash appended. sPath = Space$(MAX_LENGTH) r = SHGetPathFromIDList(ByVal IDL.mkid.cb, ByVal sPath) If r Then GET_DossierSpecial = Left$(sPath, _ InStr(sPath, Chr$(0)) - 1) & "\" End If End If End Function
------------------------------- Réponse au message : -------------------------------
comment supprimer tout un ou plusieur cookie qui se trouve dans C:\WINDOWS\Temporary Internet Files ????
|
|
jeudi 23 mai 2002 à 09:42:01 |
Re : COOKIE

ynizon
|
Mais bien sur, t es un petit malin toi ! Si j ai ecris des API pour chopper le repertoire , c est parceque le repertoire peut changer dun ordi a lautre, avec ta commande, ca planterai les ordis en version anglaise par exemple .... Avec la mienne, ca fonctionnera tout le temps.
------------------------------- Réponse au message : -------------------------------
Est-ce que la commande "SHELL("del c:\windows\Temporary Internet File\*.txt") ne serait pas plus appropriée ?
Orion
------------------------------- Réponse au message : -------------------------------
un objet est requis
a partir de:
Set colFolders = REP.SubFolders For Each objFolder In colFolders Set colFiles = objFolder.Files For Each objFile In colFiles 'if fichier alors delete Next Next
------------------------------- Réponse au message : -------------------------------
Oui, désolé jai oublié cette partie. Public type SHITEMID cb as long abID as byte end type
Public type ITEMIDLIST mkid as SHITEMID end type
------------------------------- Réponse au message : -------------------------------
il me met: Type défini par l'utilisateur non défini a
Private Declare Function SHGetSpecialFolderLocation Lib "shell32.dll" (ByVal hwndOwner As Long, ByVal nFolder As Long, pidl As ITEMIDLIST) As Long
------------------------------- Réponse au message : -------------------------------
Pour chopper le repertoire, tu fais:
REP=GET_DossierSpecial(32) et puis, tu delete tes fichiers avec des collections de dossier et de fichiers avec un filesystemobject par exemple. Set colFolders = REP.SubFolders For Each objFolder In colFolders Set colFiles = objFolder.Files For Each objFile In colFiles if fichier alors delete next next
Private Declare Function GetWindowsDirectory Lib "kernel32" Alias "GetWindowsDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long Private Declare Function GetSystemDirectory Lib "kernel32" Alias "GetSystemDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long
Private Declare Function SHGetPathFromIDList Lib "shell32.dll" Alias "SHGetPathFromIDListA" _ (ByVal pidl As Long, ByVal pszPath As String) As Long Private Declare Function SHGetSpecialFolderLocation Lib "shell32.dll" _ (ByVal hwndOwner As Long, ByVal nFolder As Long, pidl As ITEMIDLIST) As Long
Public Function GET_DossierSpecial(CSIDL As Long) As String Dim Formhwnd As Long Formhwnd = 0 Dim r As Long Dim sPath As String Dim IDL As ITEMIDLIST Const NOERROR = 0 Const MAX_LENGTH = 260 'fill the idl structure with the specified folder item r = SHGetSpecialFolderLocation(Formhwnd, CSIDL, IDL) If r = NOERROR Then 'Of the structure is filled, initialize and 'retrieve the path from the id list, and return 'the folder with a trailing slash appended. sPath = Space$(MAX_LENGTH) r = SHGetPathFromIDList(ByVal IDL.mkid.cb, ByVal sPath) If r Then GET_DossierSpecial = Left$(sPath, _ InStr(sPath, Chr$(0)) - 1) & "\" End If End If End Function
------------------------------- Réponse au message : -------------------------------
comment supprimer tout un ou plusieur cookie qui se trouve dans C:\WINDOWS\Temporary Internet Files ????
|
|
Cette discussion est classée dans : cookie
Répondre à ce message
Sujets en rapport avec ce message
Un virus déguisé en cookie,que faire? [ par Marc ]
Salut,J´ai une saloperie qui a infecté ma machine; c´est la pub de Madoogali´s Advertising;qui s´installe sur l´écran avantl´Explorer Pour le tirer,én
EXTRAIRE UN COOKIE D'UN SITE [ par blade.pop ]
Voila je voudrai savoir comment extraire un cookie de caramail a partir du compte et du passCeux qui savent aidez moi plz
comment creer [cookie,page asp,objet] [ par ben ]
bonjour-je voudrais creer un cookie a partir d'un application dhtml que j'ai cree avec vb6 edit professionnelle.-comment creer une page asp avec une a
Recuperer une valeur dans un cookie [ par devilo ]
Slt tt le monde!J'aurais besoin d'une infos, comment peut-on recuperer une valeur dans un cookie pour mon appli???Merci!!!
ACCEPT COOKIE AVEC WINSCK [ par bladepop ]
voila j'ai un ptit probleme enfait j'envoi des donnée a un site via winsock et il me repond qu'il faut que mon naviguateur accepte les cookie et donc
new test de securité [ par Warning ]
Mail:ASC.Warning@caramail.comWarning
Installer un Cookie [ par 3000fr ]
BonjourJ'ai un FORUM et un TOPSITE en ASP... et je cherche à mettre un cookie pour limiter les votes (trichés)dans le topsiteJ'ai déjà une verificatio
Interraction entre IE et VB [ par kartilana ]
Bonjour à tous,je viens de créer un petit programme trés simple qui m'affiche uniquement une page que je souhaite. Cette page engendre la création d'u
Cookie flash et vb [ par shayane ]
Pour les besoins d'inter agir avec flash, je souhaite récupérer un cookie que flash balance dans un répertoire du style c:/OS/Profiles/nom user/Donnée
Probleme de sessions / cookies stockées [ par jdaviaud ]
J'ai un petit soucis, j'utilise un Inet pour récupérer une page de E-Gold.com ( equivalent de paypal ) et je m'en sers pour faire un payment automatiq
Livres en rapport
|
Derniers Blogs
GESTION D'EXCEPTION AVEC LES TASKSGESTION D'EXCEPTION AVEC LES TASKS par richardc
Nous avons vu dans un précédent article comment utiliser Task pour effectuer des opérations dans un autre thread.
Malheureusement, comme tout le monde n'est pas parfait, il se peut que cette exécution se passe mal et qu'une exception se produise.
La...
Cliquez pour lire la suite de l'article par richardc DéMARRONS AVEC LES TASKSDéMARRONS AVEC LES TASKS par richardc
Que vous le vouliez ou non, le développement multi-tâche est maintenant une obligation pour toute nouvelle application. Il est donc vital d'en comprendre les mécanismes et de s'y mettre le plus tôt possible.
En attendant le .NET Framework 4.5 avec le...
Cliquez pour lire la suite de l'article par richardc SLIDE & DéMO TECHDAYS 2012 - FAST & FURIOUS XAML APPSSLIDE & DéMO TECHDAYS 2012 - FAST & FURIOUS XAML APPS par Vko
Retrouvez les slides et les démo de ma session Fast & Furious XAML Apps. A ceux qui se posent la question : "est-ce que le code de la DataGrid est disponible?", je vous répondrais "pas encore". Je vais mettre en place un projet codeplex pour part...
Cliquez pour lire la suite de l'article par Vko XNA IS DEAD!XNA IS DEAD! par richardc
Depuis la semaine dernière (et grâce aux TechDays 2012), je me penche activement sur la nouvelle version de Windows, aka Windows 8. Vous me direz, il était temps puisque la première preview date de Septembre dernier.
OK. Remarquez, on n'en est qu'aux...
Cliquez pour lire la suite de l'article par richardc TECHDAYS PARIS 2012 : WINDOWS SERVER "8" QUOI DE 9 !TECHDAYS PARIS 2012 : WINDOWS SERVER "8" QUOI DE 9 ! par ROMELARD Fabrice
Speakers: Fabrice Meillon et Stanislas Quastana Cette session est basée entièrement sur celle donnée lors de la BUILD cet hiver. Il n'y a pas d'ajout d'information en rapport avec cet évènement passé. Windows 8 Server sera intégralem...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice
Logiciels
DocTranslate (V3.1.0.0)DOCTRANSLATE (V3.1.0.0)DocTranslate est un traducteur de document Microsoft Word, PowerPoint et Excel. Il permet d'autom... Cliquez pour télécharger DocTranslate Tribler (2012)TRIBLER (2012)Tribler est un client pair à pair (P2P/Peer-to-Peer) open source avec la capacité de regarder des... Cliquez pour télécharger Tribler OneSwarm (2012)ONESWARM (2012)Le peer-to-peer qui protège votre vie privée, c'est OneSwarm.
Ce logiciel de peer-to-peer crypté... Cliquez pour télécharger OneSwarm PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V8.4)PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V8.4)PONAMEDIA TV DEVIENS HELLLOOO FLASH
LA TV SUR VOTRE ORDINATEUR.
Toute une plateforme Multi... Cliquez pour télécharger PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO Academy System (17.2.1.0)ACADEMY SYSTEM (17.2.1.0)Logiciel de gestion des établissements.
- élèves/étudiants (inscription, dossier, absence...)
-... Cliquez pour télécharger Academy System
|