A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

outlook AdvanceFind dialog



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 15th 09, 11:31 AM posted to microsoft.public.outlook.program_addins
Ashish
external usenet poster
 
Posts: 94
Default 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.


Ads
  #2  
Old December 15th 09, 02:29 PM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP][_4_]
external usenet poster
 
Posts: 552
Default 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.



  #3  
Old December 15th 09, 03:07 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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.




  #4  
Old December 15th 09, 06:47 PM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP][_4_]
external usenet poster
 
Posts: 552
Default 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.






  #5  
Old December 16th 09, 12:32 PM posted to microsoft.public.outlook.program_addins
Ashish
external usenet poster
 
Posts: 94
Default 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.






  #6  
Old December 16th 09, 02:17 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Response out of MS Outlook dialog box Adi[_2_] Add-ins for Outlook 3 May 12th 08 04:04 PM
Outlook add-in, display dialog box Phoenix Add-ins for Outlook 2 August 16th 06 08:42 AM
Customize Outlook authentication dialog Tingeridge Outlook and VBA 1 May 15th 06 07:12 PM
outlook express About dialog Abubakar Outlook Express 3 April 1st 06 02:35 AM
outlook contact dialog sd Outlook and VBA 6 February 20th 06 05:56 PM


All times are GMT +1. The time now is 08:40 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.