A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Delete an item



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 27th 06, 09:07 PM posted to microsoft.public.outlook.program_addins
Bob Smith
external usenet poster
 
Posts: 34
Default 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.


Ads
  #2  
Old July 28th 06, 07:32 AM posted to microsoft.public.outlook.program_addins
Michael Bauer
external usenet poster
 
Posts: 435
Default 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.
  #3  
Old July 28th 06, 02:44 PM posted to microsoft.public.outlook.program_addins
Bob Smith
external usenet poster
 
Posts: 34
Default 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.

  #4  
Old July 28th 06, 03:39 PM posted to microsoft.public.outlook.program_addins
Michael Bauer
external usenet poster
 
Posts: 435
Default 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.

  #5  
Old July 29th 06, 04:40 AM posted to microsoft.public.outlook.program_addins
Bob Smith
external usenet poster
 
Posts: 34
Default 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.


  #6  
Old July 31st 06, 07:42 AM posted to microsoft.public.outlook.program_addins
Michael Bauer
external usenet poster
 
Posts: 435
Default 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.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 11:11 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.