my program written in VS2005 is accessing outlook contacts etc... Week ago I have start getting slower.
When im getting items of ContactItems collection, Im calling that function: (in code section)
Before the slowdown, its not problem to load cca 2000 contacts in few seconds, but now - its one second per contact! And Outlook proces utilizing CPU to 100% while Im loading contacts...
Its Outlook 2003 connected to Exchange Server by RPC over HTTPS. Im using also MapiLab plugin "Advanced Security 1.51", but Im using it for long time without problems.
I have tested it on other computers and there is no problem...
Private Function GetEmailAddress(ByVal Person as ContactItem) As String
Dim GEA As String = ""
If .Email3AddressType = "SMTP" Then
GEA = .Email3Address
If .Email2AddressType = "SMTP" Then
GEA = .Email2Address
If .Email1AddressType = "SMTP" Then
GEA = .Email1Address