
Signature
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
Hi Ken,
I have added the Outlook 2007 PIA reference, In Visual Studio 2007 (Prof
version) I am coding in Visual Basic as an AddIn to OL2007, I still dont see
the RSS classes,
Have coded as below to import;
Imports Outlook = Microsoft.Office.Interop.Outlook
Imports Office = Microsoft.Office.Core
As you mentioned "The MessageClass for RSS items is "IPM.Post.Rss"."
I still dont see any of the RSS message Classes.
Am I missing something ?
Would it be possible to give a simple example in VB on How to create a Rss
Item from VS2005 using VB ...
I am a bit confused.

Signature
Thank You and Regards.
Neel.
> If I understand what you're asking just add a reference to the Outlook 2007
> PIA and then Import that in your code. Everything is in the Outlook object
[quoted text clipped - 8 lines]
> > reference the Classes and field names for Outlook 2007 Rss items using
> > IMPORT statements etc...
Ken Slovak - [MVP - Outlook] - 19 Apr 2007 14:54 GMT
The MessageClass won't show up, nor will any others such as "IPM.Note". The
items you create will be PostItem objects that have that specific
MessageClass.
Assuming that your Outlook.Application object is olApp:
Dim oRSS As Outlook.PostItem = olApp.CreateItem(OlItemType.olPostItem)
oRSS.MessageClass = "IPM.Post.Rss"
Then you can do whatever you want with the item such as populating it and
moving it to a specific folder, just as you would with any other Post item.
That item has the same MessageClass as an RSS item that is delivered to your
store, but it won't necessarily have the same properties as other RSS items
and won't have been received so it won't have the various sending properties
filled in.

Signature
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
> Hi Ken,
>
[quoted text clipped - 17 lines]
>
> I am a bit confused.