E
Elliot Rodriguez
I have a VB.NET project that uses the Outlook object model. On a development
machine, all my references are added, everything tests great, and I have now
moved the project to another staging machine, which has caused numerous
errors to be thrown.
For the objects Outlook. Recipients, Folders, Items, and Attachments, I am
getting compiler errors such as this:
"Expression is of type 'Outlook.Recipients', which is not a collection
type."
Of COURSE it is! This no longer works (worked on my test machine):
for each objRecip in objMailItem.Recipients
objRecip.Resolve()
next
What happened?
machine, all my references are added, everything tests great, and I have now
moved the project to another staging machine, which has caused numerous
errors to be thrown.
For the objects Outlook. Recipients, Folders, Items, and Attachments, I am
getting compiler errors such as this:
"Expression is of type 'Outlook.Recipients', which is not a collection
type."
Of COURSE it is! This no longer works (worked on my test machine):
for each objRecip in objMailItem.Recipients
objRecip.Resolve()
next
What happened?