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

automatically launching a script when contacts changed



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 2nd 06, 06:33 PM posted to microsoft.public.outlook.contacts
[email protected]
external usenet poster
 
Posts: 1
Default automatically launching a script when contacts changed

Is it possible to configure Outlook 2003 to perform an action such as
launching a script or sending an email whenever a contact has been
added, changed, or deleted? The contact's information should be
provided to the script or sent in the email.

Thank you,
Kalirion

Ads
  #2  
Old March 2nd 06, 07:02 PM posted to microsoft.public.outlook.contacts
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default automatically launching a script when contacts changed

A contact in a public folder? A contact in your own Contacts folder? In what version of Outlook?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


wrote in message oups.com...
Is it possible to configure Outlook 2003 to perform an action such as
launching a script or sending an email whenever a contact has been
added, changed, or deleted? The contact's information should be
provided to the script or sent in the email.

Thank you,
Kalirion

  #3  
Old March 2nd 06, 07:48 PM posted to microsoft.public.outlook.contacts
Kalirion
external usenet poster
 
Posts: 2
Default automatically launching a script when contacts changed

Thank you for the reply, Sue!

At the moment, the personal Contacts folder is enough, though later we
might want to do it for public folders as well. The version is MS
Outlook 2003 SP1.

The utlimate goal is to have a SOAP message with the Contact info sent
to a web service when a CardScan business card reader reads a card.
The reader can be configured to synchronize contacts with Outlook, so I
thought that maybe Outlook had some functionality to either send the
SOAP message directly or, more likely, communicate with a program that
could do it.

Thank you,
Kalirion

  #4  
Old March 2nd 06, 08:56 PM posted to microsoft.public.outlook.contacts
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default automatically launching a script when contacts changed

Any code that you write in Outlook VBA to do this won't be translatable to an Exchange event sink, which is how you'd want to handle a public folder.

But for the VBA solution, download the Office 2003 Web Services Toolkit from http://www.microsoft.com/downloads/d...DisplayLang=en. This will give you the plumbing you need for the SOAP calls.

The other piece is to use the MAPIFolder.Items.ItemChange event to monitor a folder for changes. The Help topic on that event explains it well. YOu can also see an example of the similar ItemAdd event at http://www.outlookcode.com/d/code/zaphtml.htm

Note that OUtlook VBA code is not meant to be distributed to other people. If your goal is an enterprise-wide solution, you'll want to build an Outlook add-in. But the VBA environment is a good way to do some initial prototyping.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Kalirion" wrote in message oups.com...
Thank you for the reply, Sue!

At the moment, the personal Contacts folder is enough, though later we
might want to do it for public folders as well. The version is MS
Outlook 2003 SP1.

The utlimate goal is to have a SOAP message with the Contact info sent
to a web service when a CardScan business card reader reads a card.
The reader can be configured to synchronize contacts with Outlook, so I
thought that maybe Outlook had some functionality to either send the
SOAP message directly or, more likely, communicate with a program that
could do it.

Thank you,
Kalirion

  #5  
Old March 2nd 06, 09:32 PM posted to microsoft.public.outlook.contacts
Kalirion
external usenet poster
 
Posts: 2
Default automatically launching a script when contacts changed

Great, thank you, Sue!

Kalirion

 




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
I have tagged an email address as junk mail can it be changed? JExeter Outlook - General Queries 1 February 28th 06 01:14 AM
Outlook user name not accepted by server - but not changed Wizzer Outlook - Installation 0 January 31st 06 02:38 PM
Outlook 2002 fonts changed QH Outlook - General Queries 3 January 23rd 06 02:34 PM
How do I automatically put people I reply to in any Contacts folde PhillipJ Outlook - Using Contacts 3 January 18th 06 11:39 AM
How do I automatically retain email addresses in my contacts? jpickles Outlook - Using Contacts 4 January 10th 06 11:50 PM


All times are GMT +1. The time now is 01:49 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.