Thanks,
I solved this issue, the problem was that i tried to snooze
(programatically) reminder that not currently was Active (IsVisile =
false).
Why i need this, is because my AddIn logic sometime should replace
between mailitems, for example:
in inbox i have mailIem_1 with reminder, and suppose that reminder
already appeared in ReminderDialog and was snoozed for
some period of time, now new mail mailIem_2 arrived and should
replace the mailIem_1 so before deleting the mailIem_1 i need
to clone reminder's detials like reminderSet, RemiderTime and also the
was snooze property (NextReminderDate).
I do next because NextReminderDate property is readonly i can't
write: myNewReminderObj.NextReminderDate =
myOldReminderObj.NextReminderDate,
but i write: myNewReminderObj.Snooz( and here a pass
myOldReminderObj.NextReminderDate minus DateTime.Now) ---> on this
error i got the exception.
the problem is that myNewReminderObj.IsVisible is false and i can't
access it.
HOw can i figured out this problem?? some workaround??
You have to pass that method a number of minutes to snooze. It's a long (32
bit) internally, but you can try a Variant object if that doesn't work.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Optionshttp://
www.slovaktech.com/products.htm
Every time i call to Reminder.Snooze method i get the following
exception :
System.ArgumentException: Value does not fall within the expected
range.
at Microsoft.Office.Interop.Outlook.ReminderClass.Snooze(Object
SnoozeTime)
I tried to pass DateTime, and int ( minutes ), but uselessly.
Anyone??- Hide quoted text -
- Show quoted text -