Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

Make money selling software. Check this out here

Hosted clickbank mall. Check this out here




   Misc

   Amazon

   Links

    


Empty the recycle bin
 

 

 

Description

this shows a way of emptying the recycle bin

Code

#include <windows.h>
#include <shlobj.h>
#define WIN32_LEAN_AND_MEAN


int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
PSTR szCmdLine, int iCmdShow)
{

if(MessageBox(NULL, "Press ok to empty the Recycle Bin.", "recycler", MB_YESNO | MB_ICONINFORMATION) != IDYES)
return FALSE;


SHEmptyRecycleBin(NULL, "", 0);

return FALSE ;
}

Information

tested using Visual C++

 

 

 

 

Download

recyclebin.txt


 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
processor info using WMI(C Sharp)
Factorial function(ASP)
start excel(Powershell)
Replace a SubString with another(VB.net)
Join array items to form a string(ASP)
str_replace example(php)
Preload images(Javascript)
Drawing example(ASP.net)

    




Copyright © 2003 by programmershelp.co.uk