If you have a MAPI viewer such as OutlookSpy (
www.dimastr.com) it often
shows differences in properties that you don't see in the user interface.
I'd also suspect permissions issues possibly if the code works with the same
items on one setup and not the other. See that the permissions are for the
users represented by those Outlook logons.
--
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
wrote in message
oups.com...
snip
Thanks for your reply. Since some MailItems work on one machine but
not one the other, I guess it could be an installation or
configuration issue - not necessarily with Office itself, but perhaps
with any other software? I'll try installing SP3 or using an older or
newer Outlook version (2002 or 2007), maybe it works then. I didn't
find anything on the web concerning my issue and the MAPI_E_NOT_FOUND
error that would bring any hints.
The messages that don't work show no difference to me from the ones
that work - I can use/modify them directly in Outlook with no
problems. Only in VBA they seem to differ. Strange behaviour.
Thanks in advance.
Regards,
Hannes