|
|
Hi all,
Is it possible to update Oultook's reminder dialog programmtically??
Scenario:
mail_x resides in Oultook's inbox folder and has reminderSet= true, on reminder time the Reminder dialog appear with mail_x subject, at this moment no action was made. My addIn deleted this mail from Inbox folder, however mail_x still appears in Reminder dialog and will be dissapear after Outlook will refresh it, but i want to refresh it programatically (i need to remove it from dialog).
Any solutions will be appreciated.
TNX,.
|
|
The reminders dialog is not accessible to code. It will update when it updates. You can remove an item from the Reminders collection, but I doubt that will refresh the reminders dialog, it usually updates once a minute.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm
"j" <Evgeny.Br[ at ]gmail.com> wrote in message news:1171545697.655478.86600[ at ]a34g2000cwb.googlegroups.com...
[Quoted Text] > Hi all, > > > Is it possible to update Oultook's reminder dialog programmtically?? > > Scenario: > > mail_x resides in Oultook's inbox folder and has reminderSet= true, > on reminder time the Reminder dialog appear with mail_x subject, at > this moment no action was made. My addIn deleted this mail from Inbox > folder, however mail_x still appears in Reminder dialog and will be > dissapear after Outlook will refresh it, but i want to refresh it > programatically (i need to remove it from dialog). > > > Any solutions will be appreciated. > > TNX,. >
|
|
Thanks for replay,
Since refresh is impossible, how can remove an item from Reminders?? Do u have some sample or snippets.
Thanks in advance
On Feb 15, 5:15 pm, "Ken Slovak - [MVP - Outlook]" <kenslo...[ at ]mvps.org> wrote:
[Quoted Text] > The reminders dialog is not accessible to code. It will update when it > updates. You can remove an item from the Reminders collection, but I doubt > that will refresh the reminders dialog, it usually updates once a minute. > > -- > Ken Slovak > [MVP - Outlook] http://www.slovaktech.com> Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 > Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm> > "j" <Evgeny...[ at ]gmail.com> wrote in message > > news:1171545697.655478.86600[ at ]a34g2000cwb.googlegroups.com... > > > > > Hi all, > > > Is it possible to update Oultook's reminder dialog programmtically?? > > > Scenario: > > > mail_x resides in Oultook's inbox folder and has reminderSet= true, > > on reminder time the Reminder dialog appear with mail_x subject, at > > this moment no action was made. My addIn deleted this mail from Inbox > > folder, however mail_x still appears in Reminder dialog and will be > > dissapear after Outlook will refresh it, but i want to refresh it > > programatically (i need to remove it from dialog). > > > Any solutions will be appreciated. > > > TNX,.- Hide quoted text - > > - Show quoted text -
|
|
Reminders.Remove(index) or if you have a handle to the Reminder item then Reminder.Dismiss if you want to dismiss the reminder. Again though, the window may not refresh for up to 1 minute.
There's a code snippet for Reminder.Dismiss in the Object Browser help for the Dismiss method.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm
"j" <Evgeny.Br[ at ]gmail.com> wrote in message news:1171623500.971897.319570[ at ]v45g2000cwv.googlegroups.com...
[Quoted Text] > Thanks for replay, > > Since refresh is impossible, how can remove an item from Reminders?? > Do u have some sample or snippets. > > Thanks in advance
|
|
Thanks,
I can't use Reminders.Remove(index) cause i don't know the index, but i have an EntryId of item that i need to Dismiss, so
in this case i should iterate over the Reminders collection in for loop, find the reqires reminder and call to Dismiss?, or there are another solution??
Thanks in advance.
On Feb 16, 4:25 pm, "Ken Slovak - [MVP - Outlook]" <kenslo...[ at ]mvps.org> wrote:
[Quoted Text] > Reminders.Remove(index) or if you have a handle to the Reminder item then > Reminder.Dismiss if you want to dismiss the reminder. Again though, the > window may not refresh for up to 1 minute. > > There's a code snippet for Reminder.Dismiss in the Object Browser help for > the Dismiss method. > > -- > Ken Slovak > [MVP - Outlook] http://www.slovaktech.com> Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 > Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm> > "j" <Evgeny...[ at ]gmail.com> wrote in message > > news:1171623500.971897.319570[ at ]v45g2000cwv.googlegroups.com... > > > > > Thanks for replay, > > > Since refresh is impossible, how can remove an item from Reminders?? > > Do u have some sample or snippets. > > > Thanks in advance- Hide quoted text - > > - Show quoted text -
|
|
Something like that is probably what I'd use if I was using the Outlook object model for that.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm
"j" <Evgeny.Br[ at ]gmail.com> wrote in message news:1171783317.137605.193560[ at ]p10g2000cwp.googlegroups.com...
[Quoted Text] > Thanks, > > > I can't use Reminders.Remove(index) cause i don't know the index, but > i have an EntryId of item that i need to Dismiss, so > > in this case i should iterate over the Reminders collection in for > loop, find the reqires reminder and call to Dismiss?, or there are > another solution?? > > > Thanks in advance.
|
|
OK, thank u,
i can't solve another issue concerning reminders.
I want to trap event when user click on Dismiss in OL rminder's dialog,
Remiders has event ReminderRemove, but the event handler is empty of arguments, so i don't no which item was removed (dismissed). Foe example evetn Snooze or ReminderChange has ReminderObject object from which i can take out the entryID .
How can i solve my problem???
Tnx inadvance
On Feb 19, 5:26 pm, "Ken Slovak - [MVP - Outlook]" <kenslo...[ at ]mvps.org> wrote:
[Quoted Text] > Something like that is probably what I'd use if I was using the Outlook > object model for that. > > -- > Ken Slovak > [MVP - Outlook] http://www.slovaktech.com> Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 > Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm> > "j" <Evgeny...[ at ]gmail.com> wrote in message > > news:1171783317.137605.193560[ at ]p10g2000cwp.googlegroups.com... > > > > > Thanks, > > > I can't use Reminders.Remove(index) cause i don't know the index, but > > i have an EntryId of item that i need to Dismiss, so > > > in this case i should iterate over the Reminders collection in for > > loop, find the reqires reminder and call to Dismiss?, or there are > > another solution?? > > > Thanks in advance.- Hide quoted text - > > - Show quoted text -
|
|
You can't really unless you use a workaround like listing all items in the Reminders folder and when you get that event you check what's there with what's in your list and know that way. It's the same problem with the ItemRemove event for an Items collection, you get the event but no information on what was removed. That's a problem with the underlying MAPI events that are passed through to Outlook, so not much you can do about that.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm
"j" <Evgeny.Br[ at ]gmail.com> wrote in message news:1171899704.111300.268560[ at ]p10g2000cwp.googlegroups.com...
[Quoted Text] > OK, thank u, > > > i can't solve another issue concerning reminders. > > I want to trap event when user click on Dismiss in OL rminder's > dialog, > > Remiders has event ReminderRemove, but the event handler is empty of > arguments, so i don't no which item was removed (dismissed). > Foe example evetn Snooze or ReminderChange has ReminderObject object > from which i can take out the entryID . > > > How can i solve my problem??? > > > Tnx inadvance
|
|
|