Solved

How to locate conflicts in an Exchange public folder?

Posted on 2006-06-11
3
255 Views
Last Modified: 2010-04-08
Hi

does any one know how to locate all conflicts in a Exchange public folder. Is there an attribute that identifies them?
0
Comment
Question by:rcameroon
  • 2
3 Comments
 
LVL 76

Expert Comment

by:David Lee
ID: 16883940
Greetings, rcameroon.

> all conflicts
What do you consider to be a conflict?

Cheers!
0
 

Author Comment

by:rcameroon
ID: 16886445
Sorry should have been more specific - a save conflict - meaning when 2 post items  are saved at the same time in replicated public folders.

When we are running a utility over the public folder it is erroring - so I need to remove all save conflicted messages before continuing.


0
 
LVL 76

Accepted Solution

by:
David Lee earned 125 total points
ID: 16892603
There is a Conflicts object that is a property of every public folder post.  The code below will loop through a folder and display a dialog-box for every item that is in conflict.  Let me know if you need instructions on using code in Outlook.

Sub CheckConflicts()
    Dim olkObject As Object, _
        olkConflict As Outlook.Conflicts, _
        olkFolder As Outlook.Items
    Set olkFolder = Application.ActiveExplorer.CurrentFolder.Items
    For Each olkObject In olkFolder
        Set olkConflict = olkObject.Conflicts
        If olkConflict.Count > 0 Then
             MsgBox "Post: " & olkObject.Subject & vbCrLf & "is involved in a conflict."
        End If
    Next
    Set olkObject = Nothing
    Set olkConflict = Nothing
    Set olkFolder = Nothing
End Sub
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now