View Single Post
  #8  
Old January 29th 08, 04:04 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Redemption, Help with selecting E-mail Account

Weird. On which MAPIOBJECT did it choke? If you right-click on the
right-pane in the Object Browser and select Show Hidden Members you will see
that NameSpace.MAPIOBJECT is there but it's normally hidden.
RDOSession.MAPIOBJECT isn't a hidden member, it's exposed.

You do have a reference set to Redemption in your VBA project references?

See if it works any better using late binding. Declare both the NameSpace
and RDOSession objects as Object and then see if you get the same error.

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


"Sean" wrote in message
...
Thanks Ken, registered Redemption and dialog box popped up and said it
was a successful install (it was in path c:\program files\redemption
\redemption.dll, however when I ran the code, it debugged on line

Session.MAPIOBJECT = oNS.MAPIOBJECT, highlighting the word .MAPIOBJECT

Again with debug message was "method or data method not found"

Running under Windows server 2003 using Office 2003




Ads