Loading images using a text file

Cajunspirit

Member
Joined
Sep 29, 2008
Messages
19
Programming Experience
Beginner
Hi

I have a very urgent project due for Monday and I am trying to implement a very simple Windows Application for viewing files.

One of the requirements is to store the history of images accessed and provide a navigation tool for those images logged into the history.

I have been successful in logging/saving the full system absolute path to a text file. Now it is to be able to navigate through the lines.

I figured I could do this by first counting up the amount of lines in the text file after a new image has been loaded to the display and added to the text file[history] and

Then using the count on the history file of total files to either decrease or increase the number as appropriate to load into the image file the previously written absolute file paths as the new images.

I am writing in Visual Basic using VB 2008 express edition and I can't seem to figure out how to count the lines in the text file and sub sequentially manipulate the line being read to display the image.

Please help.
 
Back
Top