We have a code written for outlook 2010.
When we run it on a computer using outlook 2003, we get an error.
We are trying to resolve user names by using Outlook.namespace GetSelectNamesDialog function
and the following exception appears when outlook 2003 is installed:
Exception Info :System.accessviolationexception.
Stack:
at Microsoft.Office.Interop.Outlook._NameSpace.GetSelectNamesDialog()
Is there any way that our code will work for both 2010 and 2003?
for now, it works just for outlook 2010.