![]() |
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
|
|||
|
|||
![]()
I want to run a window service which collects the list of contacts from a
oracle database and updates to outlook contacts periodically. I am using a Timer control to achieve the goal and the contacts are updated to Outlook in timer__Elapsed event. when ever the code reaches the Outlook.Application objOutlook = new ApplicationClass(); the timer is reset and new timer_Elapsed event is generating, becuase the service is running in a recursion. Please let me know if we can call the outlook application from window service, if yes how to resolve the above issue. Thanks |
Ads |
#2
|
|||
|
|||
![]()
Outlook is not suitable to automate from a service. You can try using CDO 1.21 instead, but it is much more difficult to create a contact; see http://www.cdolive.com/cdo10.htm for some of the fields involved.
-- 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 "Anup" wrote in message ... I want to run a window service which collects the list of contacts from a oracle database and updates to outlook contacts periodically. I am using a Timer control to achieve the goal and the contacts are updated to Outlook in timer__Elapsed event. when ever the code reaches the Outlook.Application objOutlook = new ApplicationClass(); the timer is reset and new timer_Elapsed event is generating, becuase the service is running in a recursion. Please let me know if we can call the outlook application from window service, if yes how to resolve the above issue. Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Not all of my contacts are syncing with my new windows mobile dev | TC | Outlook - Using Contacts | 8 | June 30th 06 10:55 PM |
Windows Live Mail Desktop Beta & Windows Messenger | Djc_74 | Outlook Express | 6 | June 7th 06 09:03 PM |
OS Version:Windows CE 5.00 -Contacts | Chris | Outlook - Using Contacts | 1 | April 19th 06 01:58 PM |
Integrate with Shared Contacts under Windows and Linux | GuyverXT9 | Outlook - Using Contacts | 1 | March 16th 06 02:38 PM |
adding mapi service to outlook 2003 for windows xp | tringuyen99@yahoo.com | Outlook - General Queries | 3 | January 24th 06 07:25 PM |