Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   outlook AdvanceFind dialog (http://www.outlookbanter.com/add-ins-outlook/98022-outlook-advancefind-dialog.html)

Ashish December 15th 09 11:31 AM

outlook AdvanceFind dialog
 
We can search mail under any folder by clicking on AdvanceFind. Outlook open
a new dialog box/ Here we can specity what mails we want.
Can we handle this in outlook addin when we click on findnow in Advance Find
dialog?
Can we know the event called by FindNow.



Sue Mosher [MVP][_4_] December 15th 09 02:29 PM

outlook AdvanceFind dialog
 
The Advanced Find dialog is not exposed to developers and fires no Outlook
object model events. The only event you'd get is the Click event for that
menu command.

FYI, please include your version of Outlook whenever you post to an Outlook
forum.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Ashish" wrote in message
...
We can search mail under any folder by clicking on AdvanceFind. Outlook
open a new dialog box/ Here we can specity what mails we want.
Can we handle this in outlook addin when we click on findnow in Advance
Find dialog?
Can we know the event called by FindNow.




Ken Slovak - [MVP - Outlook] December 15th 09 03:07 PM

outlook AdvanceFind dialog
 
I'm not sure what the user wants those events for, but you could get an
event when Advanced Find was run if you go about it indirectly.

Advanced Find creates a temporary search folder. If you get the search
folders root folder under Finder and handle the FolderAdd event on that
Folders collection you'd know when an Advanced Find had been run (and when a
new search folder was created).

If it was anything older than Outlook 2007 you'd need to use Redemption code
to get to Finder, but it definitely could be done that way.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Sue Mosher [MVP]" wrote in message
...
The Advanced Find dialog is not exposed to developers and fires no Outlook
object model events. The only event you'd get is the Click event for that
menu command.

FYI, please include your version of Outlook whenever you post to an
Outlook forum.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Ashish" wrote in message
...
We can search mail under any folder by clicking on AdvanceFind. Outlook
open a new dialog box/ Here we can specity what mails we want.
Can we handle this in outlook addin when we click on findnow in Advance
Find dialog?
Can we know the event called by FindNow.





Sue Mosher [MVP][_4_] December 15th 09 06:47 PM

outlook AdvanceFind dialog
 
Cool. That could have interesting applications.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Ken Slovak - [MVP - Outlook]" wrote in message
...
I'm not sure what the user wants those events for, but you could get an
event when Advanced Find was run if you go about it indirectly.

Advanced Find creates a temporary search folder. If you get the search
folders root folder under Finder and handle the FolderAdd event on that
Folders collection you'd know when an Advanced Find had been run (and when
a new search folder was created).

If it was anything older than Outlook 2007 you'd need to use Redemption
code to get to Finder, but it definitely could be done that way.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Sue Mosher [MVP]" wrote in message
...
The Advanced Find dialog is not exposed to developers and fires no
Outlook object model events. The only event you'd get is the Click event
for that menu command.

FYI, please include your version of Outlook whenever you post to an
Outlook forum.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Ashish" wrote in message
...
We can search mail under any folder by clicking on AdvanceFind. Outlook
open a new dialog box/ Here we can specity what mails we want.
Can we handle this in outlook addin when we click on findnow in Advance
Find dialog?
Can we know the event called by FindNow.







Ashish December 16th 09 12:32 PM

outlook AdvanceFind dialog
 
Thanks
So it's not possible in outlook 2003 without redemption right?
For outlook 2007, As you said outlook creates a temporary folder for that,
i'll check it in folder_add. But my motive is when outlook search mails when
i click on find now, it should include show some more mails which i want to
give.
"Ken Slovak - [MVP - Outlook]" wrote in message
...
I'm not sure what the user wants those events for, but you could get an
event when Advanced Find was run if you go about it indirectly.

Advanced Find creates a temporary search folder. If you get the search
folders root folder under Finder and handle the FolderAdd event on that
Folders collection you'd know when an Advanced Find had been run (and when
a new search folder was created).

If it was anything older than Outlook 2007 you'd need to use Redemption
code to get to Finder, but it definitely could be done that way.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Sue Mosher [MVP]" wrote in message
...
The Advanced Find dialog is not exposed to developers and fires no
Outlook object model events. The only event you'd get is the Click event
for that menu command.

FYI, please include your version of Outlook whenever you post to an
Outlook forum.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Ashish" wrote in message
...
We can search mail under any folder by clicking on AdvanceFind. Outlook
open a new dialog box/ Here we can specity what mails we want.
Can we handle this in outlook addin when we click on findnow in Advance
Find dialog?
Can we know the event called by FindNow.







Ken Slovak - [MVP - Outlook] December 16th 09 02:17 PM

outlook AdvanceFind dialog
 
I don't understand your explanation, sorry.

Outlook 2003 would also create the temporary search folder. The difference
is that you can't get to Finder in Outlook 2003 without using Redemption or
another low level API. In Outlook 2007 you can get there with just the
Outlook object model.

This would also be a transient solution. Unless the search folder is
persisted it will be deleted when the user closes the Advanced Find dialog.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Ashish" wrote in message
...
Thanks
So it's not possible in outlook 2003 without redemption right?
For outlook 2007, As you said outlook creates a temporary folder for that,
i'll check it in folder_add. But my motive is when outlook search mails
when i click on find now, it should include show some more mails which i
want to give.




All times are GMT +1. The time now is 12:28 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com