>Hi,
>
>I don't think there's anyway to do such a thing. Also I don't think that one needs to do such a thing.
>
>Regards,
>Hitesh
>
>>>Hello all,
>>>
>>>Is there any way to load a form through a string variable that contains the name of the form?
>>>
>>>I can't be sure that the form is loaded, so the Forms collection doesn't help :-(
>>>
>>>Thanks in advance for any help.
>>
>>The only way I can think of is with a Case statement
>>
>>Select Case sFormName
>> Case "frmThis"
>> Show.frmThis
>> Case "frmThat"
>> Show.frmThat
>>End Select
>>
>>not pretty, eh?
Hitesh,
You may be correct in that it cannot be done -- but I do have a reason to do it.
I am trying to develop a framework whereby users would only need to know how to enter strings -- not how the wizard chains together the forms. So to create a wizard, they draw and program their forms, add the wizard module to their project, type in a few strings, and off it goes (grossly simplified version :-) ).
I've looked at the VB5 wizard wizard, and it seems unnecessarily complex, and from that springs my desire to create this framework for use within our organization.