View Single Post
  #1  
Old May 24th 06, 07:44 AM posted to microsoft.public.outlook.program_vba
Renjith
external usenet poster
 
Posts: 5
Default AdvancedSearchComplete

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_AdvancedSearchCompleteEventHa ndler(outLookApp_AdvancedSearchComplete);

In the outLookApp_AdvancedSearchComplete functoin I do the following.

applicationObject.AdvancedSearchComplete -= new
ApplicationEvents_11_AdvancedSearchCompleteEventHa ndler(outLookApp_AdvancedSearchComplete);


But now the problem is that when I do a search a second time I receive the
SearchComplete notifiction twice.

Please help.
Ads