VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

VB Takes Out The Trash

Barry L. Camp  (1 Submission)   Files/File Controls/Input/Output   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

Empties the Recycle Bin, regardless of what drive/folder assigned to.

Inputs
None.

Assumes
No form required. (Sample uses a standard module instead of a form).

Returns
None.

Side Effects
Empties the Recycle Bin. If workstation has more than one drive, *all* Recycled folders (e.g. C:\Recycled) on *all* drives are emptied.

API Declarations
SHEmptyRecycleBin (Shell32)

Rate VB Takes Out The Trash (2(2 Vote))
VB Takes Out The Trash.bas

VB Takes Out The Trash Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters