Hi
I Have a form that contains around 30 Labels and 30 Pictureboxes.
I have a piece of code that on form load that steps through the labels and changes the text to a file name from a directory.
This all works fairly well however:
I need to be able to get the picture box next to it to be the image of that file.
EG.
For RELREF = 1 to 30 step 1
picturebox(RELREF).backgroundimage=image.fromfile("c\-\desktop\" & label(RELREF).text)
RELREF = RELREF + 1
Next RELREF
Is this possible and can it be done without writting the code version of war and peace.
In short i need picturebox(1) background image to be label(1) filename....