I am doing a little experimenting (never a good idea when you aren't that knowledgeable) with a status tool bar.

I am using an OpenFileDialog to select a picture to use (either .bmp or .jpg) and then I want to display the picture file name using a status tool.

However, I keep getting an exception on the display and quite frankly I just can't see why. Also, I have no items in the properties of the status tool. Perhaps someone here can explain it to me.

I have attached screen shots of the form design, with controls, the code used in the module to call the subroutine and the error and location of the error.

Name:  2015-01-23_10-28-10.jpg
Views: 510
Size:  73.7 KBName:  2015-01-23_10-28-39.jpg
Views: 481
Size:  52.6 KBName:  2015-01-23_10-30-13.jpg
Views: 434
Size:  26.3 KB