I am trying to read in a string from a previously saved file containing 3 data items;
1) picturebox control name i.e. TilePicNum(1) which is a item from a picturebox array
2) picturebox tag
3) picturebox Imagelocation

The saving all works fine. But then i want to read in the file and use each item to set the appropriate properties
eg string1 (TilePicNum(1) ) is the control name
so want to use TilePicNum(1).tag = string2
TilePicNum(1).imagelocation = string3

so essentially string1.tag = string2

But i cant convert the read string1 to a picturebox control. I have tried CObj but that does not work. Any ideas please.
Thanks in advance,
David