First download and install the latest version of RSS2HTML
Scout. You can download it here
Run Visual Basic and go to a File menu.
Then click New menu item to start Project
Wizard
Project
Wizard will appear:
2) Select Standard
EXE project type and click Open to create a new project.
Visual Basic will generate
the new project called Project1 and will automatically
open the main form of the generated project:
3) Click on Form1
surface and Visual Basic will show the code window for
Form_Load event:
4) Now
you should add the code that will initialize RSS2HTML
Scout library and convert RSS to HTML using library:
Here
is the source code that you can simply copy and paste into Visual
Basic:
Set RSS2HTML
= CreateObject("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
This
function will download and create HTML file "Output.html" file
that contain latest 5 news items from Bytesout's RSS feed
Hint:
You
can simply copy the source code from the snippet above and
then paste it in the Visual Basic code editor.
5) Press F5 to
run the application (you can also use "Run" | "Start" menu
command).
6) Visual
Basic will run the application and application will generate
HTML file "Output.HTML".
You
can view generated HTML file using Internet Explorer or
another browser. To display HTML files in your Visual
Basic application please use WebBrowser
control