VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Empty Recycle Bin for a drive or all drives! You can optionally turn off confirmation dialogs, prog

M. Jahedbozorgan  (1 Submission)   Windows API Call/Explanation   Visual Basic 4.0 (32-bit)   Unknown Difficulty   Sat 10th November 2001   Mon 8th February 2021

Empty Recycle Bin for a drive or all drives! You can optionally turn off confirmation dialogs, progress dialog, and sounds.

API Declarations


' Deletes all files in the Recycle Bin for the specified
' drive.
' If drive be omitted, it affects the Recycle Bin of all
' drives. You can optionally turn off confirmation dialogs,
' progress dialog, and sounds.

Option Explicit

Private Declare Function SHEmptyRecycleBin Lib "shell32.dll" Alias "SHEmptyRecycleBinA" (ByVal HWnd As Long, ByVal pszRootPath As String, ByVal dwFlags As Long) As Long

Rate Empty Recycle Bin for a drive or all drives! You can optionally turn off confirmation dialogs, prog (2(2 Vote))
Empty Recycle Bin for a drive or all drives! You can optionally turn off confirmation dialogs, prog.bas

Empty Recycle Bin for a drive or all drives! You can optionally turn off confirmation dialogs, prog Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters