|
' visit http://bytescout.com/rss2htmlscout_example_vb_net.html for full version of this example
' converting RSS to HTML with Visual Basic.NET. Check /Examples/Visual Basic.NET/ sub-folder for full
' source code for this example
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim RSS2HTML As RSS2HTMLScoutLib.RSS2HTMLScout
RSS2HTML = New RSS2HTMLScoutLib.RSS2HTMLScout
RSS2HTML.ItemsPerFeed = 5 ' display only 5 latest items
' ##### we can add more than one RSS feed #########
RSS2HTML.AddFeed("http://bytescout.com/news.xml", 180) ' update every 180 minutes (3 hours)
RSS2HTML.Execute()
RSS2HTML.SaveOutputToFile("Output.html") ' save output to HTML file
End Sub
' visit http://bytescout.com/rss2htmlscout_example_vb.html for full version of this example
Copyright 2005-2006
|