![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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. |
Ads |
#2
|
|||
|
|||
![]()
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. |
#3
|
|||
|
|||
![]()
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. |
#4
|
|||
|
|||
![]()
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. |
#5
|
|||
|
|||
![]()
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. |
#6
|
|||
|
|||
![]()
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. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Item.Copy - Can't Delete? | Bob Smith | Add-ins for Outlook | 2 | September 3rd 06 09:49 AM |
Is it possible to delete appt. item from folder obtained from GetSharedDefaultFolder? | Brian J. Matuschak | Outlook - Calandaring | 2 | May 1st 06 09:16 PM |
Calendar item will not delete on cancel | Charles | Outlook - Calandaring | 0 | February 6th 06 12:43 AM |
Cannot open Calendar item to delete... | kage13 | Outlook - Calandaring | 1 | February 1st 06 11:17 PM |
Handling Task Item Delete Event | AtulSureka | Outlook - Using Forms | 0 | January 24th 06 11:25 AM |