How to catch the AdvancedSearchComplete event

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.
 
K

Ken Slovak - [MVP - Outlook]

That event can't be handled in form code. You'd need VBA code or a COM
addin.
 
P

Pavel Rosoi

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.
 
S

Sue Mosher [MVP-Outlook]

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
 
K

Ken Slovak - [MVP - Outlook]

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.
 

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