![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi,
No, it's not a 1 way road. You are correct, most RDO objects cannot be casted to Outlook objects, however, most objects such as Folders, messages... etc have EntryIDs which you can use to get the Outlook Object For example Private gFolder_CurrentOutlookFolder As Outlook.Folder = Nothing Private gFolder_CurrentOutlookRDOFolder As Redemption.RDOFolder = Nothing gFolder_CurrentOutlookFolder = explorer_ActiveExplorer.CurrentFolder gFolder_CurrentOutlookRDOFolder = myRDOsession.GetFolderFromID(gFolder_CurrentOutloo kFolder.EntryID) As you can see above, I'm using the EntryID of an Outlook Folder to get an RDO folder. NOTE: Outlook events are so unreliable it is unbelievable Good luck |
#2
|
|||
|
|||
![]()
Yes, I realized the way over the ItemID, but that's a bit arkward.
So you say Remdemtion Events are more reliable? You can recommend the use of redemption? How do I get an Redemption Item from the item that I get from a FormRegion Object? Best Tom "Nabil" schrieb im Newsbeitrag ... Hi, No, it's not a 1 way road. You are correct, most RDO objects cannot be casted to Outlook objects, however, most objects such as Folders, messages... etc have EntryIDs which you can use to get the Outlook Object For example Private gFolder_CurrentOutlookFolder As Outlook.Folder = Nothing Private gFolder_CurrentOutlookRDOFolder As Redemption.RDOFolder = Nothing gFolder_CurrentOutlookFolder = explorer_ActiveExplorer.CurrentFolder gFolder_CurrentOutlookRDOFolder = myRDOsession.GetFolderFromID(gFolder_CurrentOutloo kFolder.EntryID) As you can see above, I'm using the EntryID of an Outlook Folder to get an RDO folder. NOTE: Outlook events are so unreliable it is unbelievable Good luck |
#3
|
|||
|
|||
![]()
See below
Yes, I realized the way over the ItemID, but that's a bit arkward. I think it's just as awkward as casting to be honest So you say Remdemtion Events are more reliable? A lot more reliable, not 100% reliable still You can recommend the use of redemption? If your addin is event driven then yet, definately. How do I get an Redemption Item from the item that I get from a FormRegion Object? Sorry, I have very little experience with outlook FormRegions. |
#4
|
|||
|
|||
![]()
Thanks a lot.
The FormRegion is not important. I can get an Item Object from the region or from the inspector object. Normally I would cast this Object to e.g. Outlook.TaskItem. How can I cast this to the appropriate RDO Object? Also the difference between a cast and the ItemID is, A cast does not call a function that has to lookup an item. So performance is also a point Best TOm "Nabil" schrieb im Newsbeitrag ... See below Yes, I realized the way over the ItemID, but that's a bit arkward. I think it's just as awkward as casting to be honest So you say Remdemtion Events are more reliable? A lot more reliable, not 100% reliable still You can recommend the use of redemption? If your addin is event driven then yet, definately. How do I get an Redemption Item from the item that I get from a FormRegion Object? Sorry, I have very little experience with outlook FormRegions. |
#5
|
|||
|
|||
![]()
See below
The FormRegion is not important. I can get an Item Object from the region or from the inspector object. Normally I would cast this Object to e.g. Outlook.TaskItem. How can I cast this to the appropriate RDO Object? Having had a quick look, I don't know how you'd cast a TaskItem. I know that for mail items you do this Dim myRDOMail As Redemption.RDOMail Dim myMailItem As Outlook.MailItem myRDOMail = myRDOsession.GetMessageFromID(myMailItem.EntryID) Have a look at the following link which may help you and also have a alook throught the FAQ section on the redemption website http://www.dimastr.com/redemption/rdo/RDOTaskItem.htm Also the difference between a cast and the ItemID is, A cast does not call a function that has to lookup an item. So performance is also a point Best TOm "Nabil" schrieb im Newsbeitrag ... See below Yes, I realized the way over the ItemID, but that's a bit arkward. I think it's just as awkward as casting to be honest So you say Remdemtion Events are more reliable? A lot more reliable, not 100% reliable still You can recommend the use of redemption? If your addin is event driven then yet, definately. How do I get an Redemption Item from the item that I get from a FormRegion Object? Sorry, I have very little experience with outlook FormRegions. |
#6
|
|||
|
|||
![]()
You wouldn't cast it, you'd get the Outlook.TaskItem and get its EntryID and
get an RDO item from that. -- 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 "escamoteur" wrote in message ... Thanks a lot. The FormRegion is not important. I can get an Item Object from the region or from the inspector object. Normally I would cast this Object to e.g. Outlook.TaskItem. How can I cast this to the appropriate RDO Object? Also the difference between a cast and the ItemID is, A cast does not call a function that has to lookup an item. So performance is also a point Best TOm |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Should I switch to redemption | escamoteur | Outlook and VBA | 11 | September 10th 09 05:31 PM |
Switch Months | [email protected] | Outlook - Calandaring | 0 | December 1st 08 10:45 PM |
What is /recycle switch | Robert T | Outlook - Installation | 1 | November 15th 08 05:09 PM |
OE 6 Won't Switch Identities | Mary | Outlook Express | 19 | June 24th 08 11:47 PM |
have 2 accts. how do I switch between so they don't mix | Gail | Outlook - Installation | 6 | February 26th 07 03:23 AM |