A
abhi4u1947
I'm trying to empty the "Deleted Items" folder. I'm using the below
snippet to empty. I'm able to delete all the items successively. The
"Deleted Items" folder also contains some custom folders, which I'm
not able to clear.
I'm getting the below error:
"{System.Runtime.InteropServices.COMException (0x86220009): Unable to
delete this folder. Right-click the folder, and then click Properties
to check your permissions for the folder. See the folder owner or your
administrator to change your permissions.
at Microsoft.Office.Interop.Outlook.MAPIFolder.Delete()"
If I try to get the handle to the folders within the "Deleted Items"
folder and delete it.
I am working with VSTO-SE in vb.net With Outlook 2007.
Plz send me the solution.
snippet to empty. I'm able to delete all the items successively. The
"Deleted Items" folder also contains some custom folders, which I'm
not able to clear.
I'm getting the below error:
"{System.Runtime.InteropServices.COMException (0x86220009): Unable to
delete this folder. Right-click the folder, and then click Properties
to check your permissions for the folder. See the folder owner or your
administrator to change your permissions.
at Microsoft.Office.Interop.Outlook.MAPIFolder.Delete()"
If I try to get the handle to the folders within the "Deleted Items"
folder and delete it.
I am working with VSTO-SE in vb.net With Outlook 2007.
Plz send me the solution.