This project has moved. For the latest updates, please go here.

Using the RssToolkit in VB.Net instead of C#...

Topics: Developer Forum
Oct 26, 2007 at 12:49 AM
I'm using not C#. I've converted the code above, but get errors:

Private Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
Dim rss As RssToolkit.Rss.RssDocument = RssToolkit.Rss.RssDocument.Load(New System.Uri(""))
Image1.ImageUrl = rss.Channel.Image.Url
GridView1.DataSource = rss.SelectItems()
End Sub

The errors are: "Type 'Rss.Toolkit.RssDocument' is not defined. " the fixes include changing it to a RssDatasource , a GenericRssElement, a RssBuildProvider, a RssCodeGenerator or a RssDataSourceView. I have tried converting it to a DataSource and to a hyper link (not one of the fixes, but it came up as an option) but I can NOT get it to work in VB. I could really use some help on this...


Aug 25, 2008 at 6:17 PM
Any Visual Basic.NET support (or aspirations to add them) yet?