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 » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Synchronizing my Outlook calendar with my customized web calendar



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 28th 08, 07:25 PM posted to microsoft.public.outlook.program_vba
Guest
 
Posts: n/a
Default Synchronizing my Outlook calendar with my customized web calendar

You can monitor the ItemRemove events for an Items collection retrieved from
a specific MAPIFolder object pertaining to the folder whose delete events
you want to monitor.

This sample from the Outlook 2003 VBA Help file illustrates how something
similar can be accomplished with the Inbox:

Dim myOlApp As New Outlook.Application
Public WithEvents myOlItems As Outlook.Items

Public Sub Initialize_handler()
Set myOlItems =
myOlApp.GetNamespace("MAPI").GetDefaultFolder(olFo lderContacts).Items
End Sub

Private Sub myOlItems_ItemRemove()
Dim myOlMItem As Outlook.MailItem
If MsgBox("Do you want to notify the Sales Team?", vbYesNo + vbQuestion)
= vbYes Then
Set myOlMItem = myOlApp.CreateItem(olMailItem)
myOlMItem.To = "Sales Team"
myOlMItem.Subject = "Remove Contact"
myOlMItem.Body = "Remove the following contact from your list:"
myOlMItem.Display
End If
End Sub


--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007
& WSS 3.0 Application Development)
Collaborative Innovations
- Try Picture Attachments Wizard For Microsoft Outlook -
Web: http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault


"Sam" wrote in message
...
Hi Guys, I have finally managed to get Stephen Toub code "Custom Calendar
Providers for Outlook 2003" to work but I have one doubt, which I need
your
help for. I need to be able delete an event from Outlook calendar when an
event from my custom calendar is deleted. Does anyone know how to do that.
Please this is very urgent…

If anyone knows how to do this then please do let me know…

I’ll be looking forward for your replies….

Thanks in advance,

Sam


 




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
outlook calendar not synchronizing correctly Rockie Outlook - Calandaring 2 July 25th 07 02:50 PM
Sharing AND synchronizing the same Outlook Calendar Trevor Outlook - General Queries 2 September 26th 06 03:29 PM
Synchronizing an Outlook 2002 calendar and a MSN calendar Tobar Outlook - Calandaring 2 September 14th 06 01:23 PM
Synchronizing Mailbox Calendar with PST calendar. ChopperChand Outlook - Calandaring 2 April 26th 06 02:15 PM
synchronizing outlook calendar between 2 PCs Christian Outlook - Calandaring 1 February 10th 06 11:58 AM


All times are GMT +1. The time now is 11:39 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-2025 Outlook Banter.
The comments are property of their posters.