Creating an HTML File List with VB  Hot PDF Print E-mail
Tag it:
Delicious
Furl it!
Digg
NewsVine
Reddit
YahooMyWeb
Technorati
Articles Reviews Visual Basic
Written by Tim Haight   
Thursday, 15 March 2007

{mos_sb_discuss:39}   

You just got that shiny new digital camera, and then you downloaded a bunch of digital pictures to your computer. Next you want to create a simple Hypertext Markup Language (HTML) file so that you can burn the picture and HTML files to a CD that you can send to all your friends and family.  How do you do this without having to manually code the HTML file? The following instructions will show you how. 

What you will need:

  1. Visual Basic 5.0 or higher (screenshots were created using Microsoft Visual Basic 5.0 Professional, and may differ slightly with other versions)
  2. Microsoft Windows 98 SE or higher


I developed this application on a Pentium III computer running at 550 MHz with 128 MB RAM.  If your PC has a slower processor or less memory, it may or may not run.

How the program will work

When the Run Catalog button is clicked, the program will:

  1. Create a list of the JPEG and GIF files in the drive and directory in the Location block
  2. Create an HTML file of that file list

Then the HTML file and graphic files could be burned to a CD for a slide show.

Setting Up Your Program 

  1. Create a directory for your project files. I created one at /My Documents/VisualBasic/HTMLCatalog
  2. If you haven’t already done so, start Visual Basic.
  3. When you open the Visual Basic Integrated Development Environment (IDE) a form should appear. It usually defaults to Form1. Save it in your project folder as frmMain.frm by clicking (on the menu bar) File, Save Form1 As, navigate to the drive and folder, and enter frmMain, and click the Save button.
Read more



User reviews

There are no user reviews for this item.

Add new review




Powered by jReviews

Last Updated ( Thursday, 15 March 2007 )
 
< Prev   Next >