realbasic-nug
[Top] [All Lists]

Capturing Outlook Events

To: realbasic-nug at lists dot realsoftware dot com
Subject: Capturing Outlook Events
From: Jay Rimalrick <asciiace at yahoo dot com>
Date: Tue, 16 Oct 2007 13:11:23 -0700 (PDT)
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Can someone provide a RB code example of how to capture Outlook events such as 
SyncStart, SyncEnd, ItemSend, Quit, etc...

Here is example VB code for SyncEnd:

Dim myOlApp As New Outlook.Application
Dim WithEvents mySync As Outlook.SyncObject

Sub Initialize_handler()
  Set mySync = myOlApp.Session.SyncObjects.Item(1)
  mySync.Start
End Sub
   
Private Sub mySync_SyncEnd()
   MsgBox "Synchronization is complete."
End Sub


Thanks



       
____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>