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 » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Should I switch to redemption



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 10th 09, 10:41 AM posted to microsoft.public.developer.outlook.addins,microsoft.public.outlook.interop,microsoft.public.outlook.program_addins,microsoft.public.outlook.program_vba,microsoft.public.platformsdk.mapi
escamoteur
external usenet poster
 
Posts: 147
Default Should I switch to redemption

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  
Old September 10th 09, 12:28 PM posted to microsoft.public.platformsdk.mapi,microsoft.public.developer.outlook.addins,microsoft.public.outlook.interop,microsoft.public.outlook.program_addins,microsoft.public.outlook.program_vba
Nabil
external usenet poster
 
Posts: 19
Default Should I switch to redemption

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  
Old September 10th 09, 12:55 PM posted to microsoft.public.platformsdk.mapi,microsoft.public.developer.outlook.addins,microsoft.public.outlook.interop,microsoft.public.outlook.program_addins,microsoft.public.outlook.program_vba
escamoteur
external usenet poster
 
Posts: 147
Default Should I switch to redemption

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  
Old September 10th 09, 01:04 PM posted to microsoft.public.platformsdk.mapi,microsoft.public.developer.outlook.addins,microsoft.public.outlook.interop,microsoft.public.outlook.program_addins,microsoft.public.outlook.program_vba
Nabil
external usenet poster
 
Posts: 19
Default Should I switch to redemption

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  
Old September 10th 09, 01:09 PM posted to microsoft.public.platformsdk.mapi,microsoft.public.developer.outlook.addins,microsoft.public.outlook.interop,microsoft.public.outlook.program_addins,microsoft.public.outlook.program_vba
escamoteur
external usenet poster
 
Posts: 147
Default Should I switch to redemption

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  
Old September 10th 09, 01:26 PM posted to microsoft.public.platformsdk.mapi,microsoft.public.developer.outlook.addins,microsoft.public.outlook.interop,microsoft.public.outlook.program_addins,microsoft.public.outlook.program_vba
Nabil
external usenet poster
 
Posts: 19
Default Should I switch to redemption

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  
Old September 10th 09, 01:52 PM posted to microsoft.public.platformsdk.mapi,microsoft.public.developer.outlook.addins,microsoft.public.outlook.interop,microsoft.public.outlook.program_addins,microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Should I switch to redemption

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  
Old September 10th 09, 01:54 PM posted to microsoft.public.developer.outlook.addins,microsoft.public.outlook.interop,microsoft.public.outlook.program_addins,microsoft.public.outlook.program_vba,microsoft.public.platformsdk.mapi
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Should I switch to redemption

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  
Old September 10th 09, 01:56 PM posted to microsoft.public.developer.outlook.addins,microsoft.public.outlook.interop,microsoft.public.outlook.program_addins,microsoft.public.outlook.program_vba,microsoft.public.platformsdk.mapi
SvenC[_2_]
external usenet poster
 
Posts: 40
Default Should I switch to redemption

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  
Old September 10th 09, 02:39 PM posted to microsoft.public.developer.outlook.addins,microsoft.public.outlook.interop,microsoft.public.outlook.program_addins,microsoft.public.outlook.program_vba,microsoft.public.platformsdk.mapi
escamoteur
external usenet poster
 
Posts: 147
Default Should I switch to redemption

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
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
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


All times are GMT +1. The time now is 05:07 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.