Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / VS Tools for Office / April 2007

Tip: Looking for answers? Try searching our database.

Outlook 2007 And Rss Item Class/Field names

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
NeelChandra - 18 Apr 2007 01:04 GMT
Hi,

  If I want to create a "new" Rss Item from Code Using Vs 2005 VB, How do I
reference the Classes and field names for Outlook 2007 Rss items using
IMPORT statements etc...

Signature

Thank You

Ken Slovak - [MVP - Outlook] - 18 Apr 2007 14:04 GMT
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
model.

The MessageClass for RSS items is "IPM.Post.Rss".

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,
>
>   If I want to create a "new" Rss Item from Code Using Vs 2005 VB, How do
> I
> reference the Classes and field names for Outlook 2007 Rss items using
> IMPORT statements etc...
NeelChandra - 19 Apr 2007 05:34 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.