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

Tags: , ,

Outlook 'Conflicts' collection





 
 
Thread Tools Display Modes
  #1  
Old July 12th 07, 09:14 AM posted to microsoft.public.outlook.program_vba
David Tongeman
external usenet poster
 
Posts: 6
Default Outlook 'Conflicts' collection

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  
Old July 12th 07, 09:17 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 1,521
Default Outlook 'Conflicts' collection

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

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 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


All times are GMT +1. The time now is 04:31 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Spam Filter - Halifax - Download movies - Credit Card Debt - Libros recomendados