Retrieve <?xml-stylesheet> from RSS Feed using XmlDocument

So I’m trying to wrap up this white paper I’m writing on consuming RSS in Windows Forms. I wrote a whole section on how to apply a custom XSLT transform to a feed, and display the resulting HTML in the WebBrowser. (I gave a less-complete version  of a solution in an earlier blog post.) Then…

0

How to Data Bind to an RSS Feed (Blog Posts) in Windows Forms

RSS feeds are XML files that represent the current posts on a syndicated content channel, such as a blog or news feed. Since RSS feeds are XML, they can be loaded into an ADO.NET DataSet and bound to the elements of a form. Picture 1: Simple RSS Feed Reader The following C# code shows the…

3

Script#: A New Way to AJAX

Apologies for the recent radio silence – I’ve been out of office due to a death in the family. I’ll have more next week. In the meantime, if you dabble in both Web development as well as Smart Client development, you’ll want to check out Nikhil Kothari’s Script#, a compiler that converts AJAX-ish C# into…

0

Accessing the Unmanaged WebBrowser Control in Windows Forms

Lets say you’re using the managed WebBrowser control in Windows Forms 2.0. At some point, you realize you want/need access to the underlying unmanaged WebBrowser control. Perhaps you need access to IWebBrower2, or you want to get the unmanaged IServiceProvider and query for something like ITravelLogStg (which exposes the URL history). How do you pull…

2

Achieve Slide Show Effects in Windows Forms Easily with the WebBrowser Control

I love the new managed WebBrowser control. It makes it so easy to hack any number of fantastic things into Windows Forms. Let’s say you want to do a slide show between various images. You can muck around with DirectX…or you can just use the transitions and filters built into the WebBrowser control and the…

6

Using WebBrowser in Windows Forms to View Blog Content Syndicated Through RSS

With the managed WebBrowser control in Windows Forms 2.0, it’s a snap to take an RSS feed and display it as formatted HTML text in the browser. Using transformed RSS in lieu of the original site has several benefits: the transformed RSS is usually faster to load; you can manipulate it programmatically with ease to…

3