How to catch the AdvancedSearchComplete event

  • Thread starter Thread starter Pavel Rosoi
  • Start date Start date
P

Pavel Rosoi

Hi

Does anyone know how to catch the AdvancedSearchComplete event in the
VBScript (code-behind a custom form) for Outlook 2003? Thank you in advance.
 
That event can't be handled in form code. You'd need VBA code or a COM
addin.
 
Thank you for your quick answer.
I don’t know VBA and it is not clear for me how the VBA code will be
deployed. I like to know if there are any means to handle this event and
avoid the code deployment to Outlook clients other than published custom
forms.
 
If you explain what you're trying to accomplish by using AdvancedSearch in the context of a custom form, maybe someone can suggest a solution. But with just the information you've provided, Ken's right -- an add-in deployed to each client would be the correct solution. (VBA would be appropriate only if it's for your personal use.)

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
 
Forms won't do it at all, so that's out. And for anything that's to be used
on more than just your own computer you obviously need to deploy your code
somehow.

For deployment the usual recommendation is not to use VBA code, but to use a
COM addin. So in your case the recommendation, without knowing anything else
about your project, would be to write a COM addin.
 
Back
Top