R
Renjith
I am using AdvancedSearch to search for mails using C#. To do this I first
register the AdvancedSearchComplete event method as given below.
applicationObject.AdvancedSearchComplete += new
ApplicationEvents_11_AdvancedSearchCompleteEventHandler(outLookApp_AdvancedSearchComplete);
In the outLookApp_AdvancedSearchComplete functoin I do the following.
applicationObject.AdvancedSearchComplete -= new
ApplicationEvents_11_AdvancedSearchCompleteEventHandler(outLookApp_AdvancedSearchComplete);
But now the problem is that when I do a search a second time I receive the
SearchComplete notifiction twice.
Please help.
register the AdvancedSearchComplete event method as given below.
applicationObject.AdvancedSearchComplete += new
ApplicationEvents_11_AdvancedSearchCompleteEventHandler(outLookApp_AdvancedSearchComplete);
In the outLookApp_AdvancedSearchComplete functoin I do the following.
applicationObject.AdvancedSearchComplete -= new
ApplicationEvents_11_AdvancedSearchCompleteEventHandler(outLookApp_AdvancedSearchComplete);
But now the problem is that when I do a search a second time I receive the
SearchComplete notifiction twice.
Please help.