VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Move a file to the Recycling bin

Anonymous  (267 Submissions)   Windows System Services   Visual Basic 4.0 (32-bit)   Unknown Difficulty   Wed 16th December 1998   Mon 8th February 2021

Move a file to the Recycling bin

API Declarations


hwnd As Long
wFunc As Long
pFrom As String
pTo As String
fFlags As Integer
fAnyOperationsAborted As Long
hNameMappings As Long
lpszProgressTitle As Long
End Type
Private Declare Function SHFileOperation Lib "shell32.dll" Alias "SHFileOperationA" (lpFileOp As SHFILEOPSTRUCT) As Long
Private Const FO_DELETE = &H3
Private Const FOF_ALLOWUNDO = &H40

Rate Move a file to the Recycling bin (2(2 Vote))
Move a file to the Recycling bin.bas

Move a file to the Recycling bin Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters