Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: How toCreate Object


Message #1 by "p amarendhiran" <amarendhiran@r...> on 19 Jan 2003 16:10:36 -0000
Dear VB professional :)

there is another thread just started few days ago with the same
question (open Form from name) and this was my answer:

If formName is a string, use this:


    Dim frx As Form
    Set frx = Forms.Add(FormName)  '' add the form in the collection
    '' load, show do whatever
    Load frx
    frx.Show

Marco

> Hi!

     I am VB Professional.I have 1 doubt.
     In my Project i got 10 forms.all the form names are stored in 
data base as well.I got form to be shown in String variable.
How can show that form.Since the form name is in String  i am 
unable to use SHOW method.Can u help me.


Thanks




  Return to Index