-
October 17th, 2003, 11:29 PM
#1
activate form dinamically
I have a problem regarding how to activate form dinamically.
From database I have form name. and I'd like to show it.
Is it possible in vb to perform command in a function like :
Showform (formName) .....etc...
note: formName is a string variable that handle the Form Name.
Thanks in advance...
Haidar Usman
-
October 18th, 2003, 02:11 AM
#2
Code:
Dim f As Form
Set f = VB.Forms.Add("myForm")
f.Show
Busy
-
October 19th, 2003, 09:08 PM
#3
Thanks a lot , Chay Luna....
Regards,
Haidar Usman
-
October 20th, 2003, 02:54 AM
#4
Before adding a form to forms...
...Be sure it is not already added.
See example from Faq
B)How to load or show forms having only form name:
Look for Bruno answers here:
http://www.codeguru.com/forum/showt...light=form+show
and mind last note from Cimperiali...
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
-
October 20th, 2003, 02:58 AM
#5
Yeah it's true and that must be your next resort.
Busy
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|