Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Otros entornos y lenguajes > C++ Builder
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Respuesta
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 24-04-2008
luiggixD luiggixD is offline
Miembro
 
Registrado: dic 2006
Ubicación: Lima - Peru
Posts: 32
Poder: 0
luiggixD Va por buen camino
Vaciar papelera de Reciclaje

People una consulta mas alguien sabe como vaciar la Papelera de reciclaje desde el C++ Builder? Le agradeceria mucho a quien me ayude.
Responder Con Cita
  #2  
Antiguo 24-04-2008
Avatar de grandmasterdari
grandmasterdari grandmasterdari is offline
Miembro
 
Registrado: ene 2008
Posts: 46
Poder: 0
grandmasterdari Va por buen camino
Post Intento de solucion 01

mete ese codigo luiyi, note que estas haciendo demasiadas preguntas, si no te pones a leer vas a ser un pesimo programador. no es sentarse preguntar y copiar

Código:
void __fastcall TForm1::BitBtn1Click(TObject *Sender)
{
 SHEmptyRecycleBin(NULL,NULL,SHERB_NOCONFIRMATION);
}
y a ver en que lio nos metes la proxima vez
http://www.luds.net/galeries/Joe%20Quimby.gif

fuente : la AYUDA DE BORLAND

Empties the Recycle Bin on the specified drive.
Syntax
HRESULT SHEmptyRecycleBin(
HWND hwnd, LPCTSTR pszRootPath, DWORD dwFlags);
Parameters
hwnd Handle to the parent window of any dialog boxes that might be displayed during the operation. This parameter can be NULL. pszRootPath Address of a null-terminated string of maximum length MAX_PATH that contains the path of the root drive on which the Recycle Bin is located. This parameter can contain the address of a string formatted with the drive, folder, and subfolder names (c:\windows\system . . .). It can also contain an empty string or NULL. If this value is an empty string or NULL, all Recycle Bins on all drives will be emptied. dwFlags One or more of the following values: SHERB_NOCONFIRMATION No dialog box confirming the deletion of the objects will be displayed. SHERB_NOPROGRESSUI No dialog box indicating the progress will be displayed. SHERB_NOSOUND No sound will be played when the operation is complete.
Return Value
Returns S_OK if successful, or an OLE-defined error value otherwise.
Function Information
Minimum DLL Versionshell32.dll version 4.71 or laterCustom ImplementationNoHeadershellapi.hImport libraryshell32.libMinimum operating systemsWindows 2000, Windows NT 4.0 with Internet Explorer 4.0, Windows 98, Windows 95 with Internet Explorer 4.0
Responder Con Cita
  #3  
Antiguo 24-04-2008
luiggixD luiggixD is offline
Miembro
 
Registrado: dic 2006
Ubicación: Lima - Peru
Posts: 32
Poder: 0
luiggixD Va por buen camino
Thumbs up gracias

sorry en realidad estoy con apuro (x no decir muy apurado) y bueno para la prox m detendre mas en la busqueda d informacion
Responder Con Cita
Respuesta



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
Eliminar icono de papelera del escritorio soler Varios 18 16-01-2008 22:17:53
Vaciar un array jmlifi Varios 4 05-09-2005 16:53:53
Borrar un fichero SIN enviarlo a la papelera de Windows jorodgar Varios 2 20-04-2005 10:24:50
mmm !!! Vaciar un StringGrid ? !3d1@n OOP 4 09-03-2005 08:56:28
vaciar Markoz Firebird e Interbase 1 25-06-2003 19:59:02


La franja horaria es GMT +2. Ahora son las 09:31:48.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi