' visit http://bytescout.com/rss2htmlscout_example_c_sharp.html for full version of this example
' converting RSS to HTML with Visual C#. Check /Examples/Visual C#/ sub-folder for full source
' code for this example
// ...
using System.Diagnostics;
//....

               private void Form1_Load(object sender, System.EventArgs e)
               {
                               
                       RSS2HTMLScoutLib.RSS2HTMLScout RSS2HTML = new RSS2HTMLScoutLib.RSS2HTMLScout();
                       
                       RSS2HTML.ItemsPerFeed = 5; // limit 5 latest items per feed

                       RSS2HTML.AddFeed ("http://bytescout.com/news.xml", 180); // ' update every 180 minutes (3 hours)
                       RSS2HTML.Execute();

                       RSS2HTML.SaveOutputToFile("c:\\RSS2HTMLOutput.html");

                       Process MyProcess = new Process();

                       // Set the file to open
                       MyProcess.StartInfo.FileName = "c:\\RSS2HTMLOutput.html";
                       MyProcess.StartInfo.Verb = "Open";
                       // Start the process
                       MyProcess.Start();


               }

' visit http://bytescout.com/rss2htmlscout_example_c_sharp.html for full version of this example

Copyright 2005-2006