Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Delete an item (http://www.outlookbanter.com/add-ins-outlook/22016-delete-item.html)

Bob Smith July 27th 06 09:07 PM

Delete an item
 
vb6 - using item.delete moves the item into a deleted Items folder. Does
anyone know how I could delete without putting the item in the delete items
folder (sure delete)? I also want to make sure the item is not recoverable.



Michael Bauer July 28th 06 07:32 AM

Delete an item
 
Am Thu, 27 Jul 2006 12:07:02 -0700 schrieb Bob Smith:


You could use CDO 1.21 or Redemption (www.dimastr.com). Or with the Outlook
object model you'd need to track the folder's ItemAdd event and delete the
item again.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


vb6 - using item.delete moves the item into a deleted Items folder. Does
anyone know how I could delete without putting the item in the delete

items
folder (sure delete)? I also want to make sure the item is not

recoverable.

Bob Smith July 28th 06 02:44 PM

Delete an item
 
So there is no way of nativly doing a SHIFT-DELETE? using ItemAdd would still
mean the item ends up in the recover deleted items folder


"Michael Bauer" wrote:

Am Thu, 27 Jul 2006 12:07:02 -0700 schrieb Bob Smith:


You could use CDO 1.21 or Redemption (www.dimastr.com). Or with the Outlook
object model you'd need to track the folder's ItemAdd event and delete the
item again.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


vb6 - using item.delete moves the item into a deleted Items folder. Does
anyone know how I could delete without putting the item in the delete

items
folder (sure delete)? I also want to make sure the item is not

recoverable.


Michael Bauer July 28th 06 03:39 PM

Delete an item
 
Am Fri, 28 Jul 2006 05:44:02 -0700 schrieb Bob Smith:

Depends on what is "nativly". With the OOM there's no direct way. But using
ItemAdd the item doesn't end up in the deleted items folder - it would be
there for just a few milliseconds.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


So there is no way of nativly doing a SHIFT-DELETE? using ItemAdd would

still
mean the item ends up in the recover deleted items folder


"Michael Bauer" wrote:

Am Thu, 27 Jul 2006 12:07:02 -0700 schrieb Bob Smith:


You could use CDO 1.21 or Redemption (www.dimastr.com). Or with the

Outlook
object model you'd need to track the folder's ItemAdd event and delete

the
item again.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


vb6 - using item.delete moves the item into a deleted Items folder. Does
anyone know how I could delete without putting the item in the delete

items
folder (sure delete)? I also want to make sure the item is not

recoverable.


Bob Smith July 29th 06 04:40 AM

Delete an item
 
Thanks Michael, can you give me an exable of how to use item add

"Michael Bauer" wrote:

Am Fri, 28 Jul 2006 05:44:02 -0700 schrieb Bob Smith:

Depends on what is "nativly". With the OOM there's no direct way. But using
ItemAdd the item doesn't end up in the deleted items folder - it would be
there for just a few milliseconds.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


So there is no way of nativly doing a SHIFT-DELETE? using ItemAdd would

still
mean the item ends up in the recover deleted items folder


"Michael Bauer" wrote:

Am Thu, 27 Jul 2006 12:07:02 -0700 schrieb Bob Smith:


You could use CDO 1.21 or Redemption (www.dimastr.com). Or with the

Outlook
object model you'd need to track the folder's ItemAdd event and delete

the
item again.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


vb6 - using item.delete moves the item into a deleted Items folder. Does
anyone know how I could delete without putting the item in the delete
items
folder (sure delete)? I also want to make sure the item is not
recoverable.



Michael Bauer July 31st 06 07:42 AM

Delete an item
 
Am Fri, 28 Jul 2006 19:40:02 -0700 schrieb Bob Smith:

Private WithEvents Items As Outlook.Items

Private Sub Application_Startup()
Application.Session.GetDefaultFolder(olFolderDelet edItems).Items
End Sub

Private Sub Items_ItemAdd(ByVal Item As Object)
Item.Delete
End Sub

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


Thanks Michael, can you give me an exable of how to use item add

"Michael Bauer" wrote:

Am Fri, 28 Jul 2006 05:44:02 -0700 schrieb Bob Smith:

Depends on what is "nativly". With the OOM there's no direct way. But

using
ItemAdd the item doesn't end up in the deleted items folder - it would be
there for just a few milliseconds.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


So there is no way of nativly doing a SHIFT-DELETE? using ItemAdd would

still
mean the item ends up in the recover deleted items folder


"Michael Bauer" wrote:

Am Thu, 27 Jul 2006 12:07:02 -0700 schrieb Bob Smith:


You could use CDO 1.21 or Redemption (www.dimastr.com). Or with the

Outlook
object model you'd need to track the folder's ItemAdd event and delete

the
item again.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


vb6 - using item.delete moves the item into a deleted Items folder.

Does
anyone know how I could delete without putting the item in the delete
items
folder (sure delete)? I also want to make sure the item is not
recoverable.




All times are GMT +1. The time now is 08:24 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com