![]() |
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,
I'm programming my Addin for Outlook2007. After running against several restrictions I know think about switching to Redemption and RDO, but it seems that it's a oneway road. If I doo I have completely to switch as it seems like RDO Objects cannot be casted to Outlook Object Model objects. What are your experiences?? Best Tom |
Ads |
#2
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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 |
#4
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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. |
#6
|
|||
|
|||
![]()
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. |
#7
|
|||
|
|||
![]()
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 |
#8
|
|||
|
|||
![]()
I've used a mix of Outlook object model and RDO objects in almost every
program I've written probably for the last 8 or 9 years. Even with Outlook 2007's extended object model there are many things you can do with RDO that you can't with the OOM. And if you have to support older versions the new object model stuff isn't there. I highly recommend RDO, but your mileage may vary. -- 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 news ![]() Hi, I'm programming my Addin for Outlook2007. After running against several restrictions I know think about switching to Redemption and RDO, but it seems that it's a oneway road. If I doo I have completely to switch as it seems like RDO Objects cannot be casted to Outlook Object Model objects. What are your experiences?? Best Tom |
#9
|
|||
|
|||
![]()
Hi Tom
I'm programming my Addin for Outlook2007. After running against several restrictions I know think about switching to Redemption and RDO, but it seems that it's a oneway road. If I doo I have completely to switch as it seems like RDO Objects cannot be casted to Outlook Object Model objects. What are your experiences?? I use RDO in some modules. It works great. And the big advantage over CDO 1.21 or OOM is: if you have a problem, Dmitry is really good at understanding your problem and providing a solution. At least, that is how I memorize it from the past, because I do not have any issues any more ;-) While you are correct about the casting, Nabil provided some solutions. Another option is to use the MAPIOBJECT property provided by most OOM or CDO objects. Search for MAPIOBJECT on http://www.dimastr.com/redemption to find samples how to use that. -- SvenC |
#10
|
|||
|
|||
![]()
Thanks Ken! As always you have a sound answer.
How do you decide what to do with RDO and what with OOM? Or do you do almost all in RDO? Best Tom "Ken Slovak - [MVP - Outlook]" schrieb im Newsbeitrag ... I've used a mix of Outlook object model and RDO objects in almost every program I've written probably for the last 8 or 9 years. Even with Outlook 2007's extended object model there are many things you can do with RDO that you can't with the OOM. And if you have to support older versions the new object model stuff isn't there. I highly recommend RDO, but your mileage may vary. -- 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 news ![]() Hi, I'm programming my Addin for Outlook2007. After running against several restrictions I know think about switching to Redemption and RDO, but it seems that it's a oneway road. If I doo I have completely to switch as it seems like RDO Objects cannot be casted to Outlook Object Model objects. What are your experiences?? Best Tom |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't switch identities | Nate | Outlook Express | 44 | April 24th 09 04:59 AM |
Switch Months | [email protected] | Outlook - Calandaring | 0 | December 1st 08 10:45 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 |
Switch from POP 3 to IMAP 4 | razornt | Outlook Express | 1 | June 13th 06 07:18 PM |