|
-
Jan 3rd, 2000, 06:48 PM
#1
Thread Starter
Hyperactive Member
Has anybody used this tip
http://www.vb-world.net/tips/tip48.html
to move files to the recycle bin instead of using the Kill statement?
It works fine for me with one exeption. I allways get the dialogbox asking " do you really wanna move this file to the trashcan?", I would like my program move the file without that question.
The flags that I use is
Const FOF_ALLOWUNDO = &H40
Const FOF_NOCONFIRMATION = &H10 'Don't prompt the user.
With FOF_ALLOWUNDO the dialogbox appears and
with FOF_NOCONFIRMATION the file is removed compleately, its not sent to the trashcan.
I need it to be move to the trashcan without the dialogbox.
Does anyone know how to accomplish this?
------------------
On Error Goto Bed :0)
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|