If I was using VBA id have used Eval(stringname & "." controlname) to pass my control to an object variable, however, im using VB 6 therefore:
I have a form called frmAccountRecords with a frame control on it called FInner.
Im reading the form name from a table and I need to pass FInner to a function.
Therefore, essentially I have a string variable containing "frmAccountRecords" and I want to convert that string to a form so I can pass Accountrecords.FInner to my function.
I've tried using the Eval command supplied with MS Script Control but havent had any luck so far.
Any help would be much appreciated.