Thanks Charles.
Lennox.

Charles Yeomans <[EMAIL PROTECTED]> wrote:
I've got a recursive method that includes error-checking at 
www.declaresub.com/article/25/how-do-i-delete-a-folder>.  Here's the  
code.

Sub DeleteItem(f as FolderItem)
   if f is nil then
     return
   end if

    for i as Integer = f.Count downTo 1
     DeleteItem f.TrueItem(i)
   next

   f.Delete
End Sub

------------------------
Charles Yeomans
http://www.declareSub.com/

 
---------------------------------
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to