![]() |
| 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. |
|
|||||||
| Tags: collection, conflicts, outlook |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I've just spent a day messing around with Outlook conflicts trying to find a
way to track and resolve them progamattically. I was using Outlook 2003 and Outlook 2007 to generate the conflict messages on a contact item in a public folder. The item.isconflict (boolean) flag seems to work both from an add-in and as code on a form. item.save if item.isconflict then etc However the item.conflicts collection was always null from the script code on the form. When I used an application to look at all items in the folder, it gives an error when trying to 'set' the contact item - and returns 'nothing' for the contact set oContact = colItems(i) If I track the error it basically says it can't open an item in conflict - try to resolve it manually and re-open. I also tried teh same process using Redemption RDO objects (ie bypassing Outlook and going straight into the MAPI interface) and got the same results. Has anyone managed to utilise the 'Conflicts' collection - and under what circumstances? |
| Ads |
|
#2
|
|||
|
|||
|
Did you use the RDOMail.Conflicts collection? What was the *exact* error?
Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "David Tongeman" wrote in message ... I've just spent a day messing around with Outlook conflicts trying to find a way to track and resolve them progamattically. I was using Outlook 2003 and Outlook 2007 to generate the conflict messages on a contact item in a public folder. The item.isconflict (boolean) flag seems to work both from an add-in and as code on a form. item.save if item.isconflict then etc However the item.conflicts collection was always null from the script code on the form. When I used an application to look at all items in the folder, it gives an error when trying to 'set' the contact item - and returns 'nothing' for the contact set oContact = colItems(i) If I track the error it basically says it can't open an item in conflict - try to resolve it manually and re-open. I also tried teh same process using Redemption RDO objects (ie bypassing Outlook and going straight into the MAPI interface) and got the same results. Has anyone managed to utilise the 'Conflicts' collection - and under what circumstances? |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| outlook contacts collection | Dick | Outlook and VBA | 1 | January 3rd 07 01:40 PM |
| CommandBars collection in Outlook | mml | Outlook and VBA | 7 | October 20th 06 07:25 PM |
| Problems with email collection in Outlook 2003 | Trent SC | Outlook - General Queries | 2 | September 26th 06 09:11 PM |
| how to use the CommandBars Collection | Jim B | Outlook - Using Forms | 0 | January 22nd 06 12:46 AM |
| commandbarcontrols collection working with Outlook 11 | Tim Bolton | Outlook and VBA | 0 | January 12th 06 09:07 PM |