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
UNE JOLIE-HORLOGE ET PAS QU'UN PEU !UNE JOLIE-HORLOGE ET PAS QU'UN PEU ! par neodante
Pour les possesseurs d'iPhone, ça y est Bijin Tokei - qui se traduit littéralement en Français par " Jolie Horloge " - est arrivé et GRATUITEMENT s'il vous plaît ! Après la version Tokyo, Hokkaido, night club, racing, Gal, "pour les mademoiselles'", . voi...
Cliquez pour lire la suite de l'article par neodante TECHDAYS PARIS 2010 : CONNECTEZ VOS DONNéES à SHAREPOINT 2010 AVEC LES BUSINESS CONNECTIVITY SERVICESTECHDAYS PARIS 2010 : CONNECTEZ VOS DONNéES à SHAREPOINT 2010 AVEC LES BUSINESS CONNECTIVITY SERVICES par ROMELARD Fabrice
Animé par: Gaetan Bouveret et Julien Chomarat Business Connectivity Services (BCS) est dans SharePoint 2010 la version 2 de Business Data Catalog (BDC dans SharePoint 2007). Il s'agit de la solution permettant de visualiser des données provenan...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice [DIVERS] SUIVRE VOS SéRIES PRéFéRéS SUR LA TOILE[DIVERS] SUIVRE VOS SéRIES PRéFéRéS SUR LA TOILE par orion
Comme de nombreux geek, je suis un grand amateur de série TV et je rate régulièrement des épisodes de mes séries préférés. Une solution s'offre à vous avec ce merveilleux site : Tv Gorge - www.tvgorge.com Moteur de recherche à l'appui, vous pouvez ...
Cliquez pour lire la suite de l'article par orion TECHDAYS PARIS 2010 : LA BI DANS SHAREPOINT 2010TECHDAYS PARIS 2010 : LA BI DANS SHAREPOINT 2010 par ROMELARD Fabrice
Animé par: Vincent Bellet et Baptiste Giraudier La BI dans SharePoint 2010, Les nouveaux services d'application dans SP2010 et SQL Server Reporting services 2008 R2. La BI dans SharePoint est généralisée pour tous afin de permettre à tous les coll...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice
Logiciels
DB-MAIN (9.1.0)DB-MAIN (9.1.0)DB-MAIN is a data-modeling and data-architecture tool. It is designed to help developers and anal... Cliquez pour télécharger DB-MAIN Xilisoft DPG Convertisseur (5.1.37.0120)XILISOFT DPG CONVERTISSEUR (5.1.37.0120)Xilisoft DPG Convertisseur offre aux fans de Nintendo DS une bonne solution leur permettant de dé... Cliquez pour télécharger Xilisoft DPG Convertisseur GraphicsGale (2.01.01)GRAPHICSGALE (2.01.01)GraphicsGale est un logiciel de PixelArt avec de nombreuse fonctionnalités permettant de réalisé ... Cliquez pour télécharger GraphicsGale Architecte 3D (Platinum 2010)ARCHITECTE 3D (PLATINUM 2010)Architecte 3D Platinium vous permet de concevoir facilement les plans votre future maison, de l'é... Cliquez pour télécharger Architecte 3D TeamViewer 5 (TeamViewer 5)TEAMVIEWER 5 (TEAMVIEWER 5)Dépanner un ami,expliquer une manipulation devient un jeu d'enfant.
Prise en main d'un autre ord... Cliquez pour télécharger TeamViewer 5
|