View Single Post
  #10  
Old October 10th 06, 01:22 AM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Error when working on mailbox vs public folder

Ah, another mailbox not your own. OK. That's a horse of a different color.

See if you can get the folder using NameSpace.GetDefaultFolder(recipient,
OlFoldersInbox) where recipient is a Recipient object created with your SMTP
email address. From there try the Items collection and iterating it.

See if that works.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Bill" wrote in message
...
Yes, I have forms published in the organizational forms library, but these
items are not custom forms. No mailboxes have been moved, although I am
trying to run this code on another email box, not my own. My rights and
permissions for the email box should be sufficient, but I think the fact
that it's running on this email box, and not the public folder for which I
am owner are the cause of the problem.

Ads