AdvancedSearchComplete

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top