Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
 
 
 
500MB 27GB Web Hosting - $9.95/Month
 
 
 
 
 
Old Pages
 
Old Index
Site Map
What's New
 
Books
How To
Tips & Tricks
Tutorials
Stories
Performance
Essays
Links
Q & A
New in VB6
Free Stuff
Pictures
 
 
 
TitleDisplay a form using its name
Keywordsform, display, form name
CategoriesTips and Tricks, Controls
 
Thanks to Yang Dong-Cheol.

Use the Forms collection's Add method to add a form with the given name. Then show the new form.

 
Private Sub cmdShowForm_Click()
Dim frm As Form

    Set frm = Forms.Add(txtFormName.Text)
    frm.Show
End Sub
 
 
Copyright © 1997-2003 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated