Click to See Complete Forum and Search --> : Selecting Forms


Wyko
August 14th, 2009, 01:46 AM
Hey there.

I have several instances of one form loaded. They all have an instantiated variable "Name." How do I select one of these forms based on the name variable?

Public Sub MakeForms()
Dim x as New frmBlack(me)
x.show
End Sub

HanneSThEGreaT
August 15th, 2009, 02:29 AM
Can you provide more details, please ¿

Wyko
August 17th, 2009, 04:01 AM
It doesn't seem like there's all that much more to tell, honestly. I made numerous instances of the same form. I need to look through all of them till I find the one with the given "Name" variable. The problem is, I have no idea how to do that. :p

Shuja Ali
August 17th, 2009, 03:01 PM
I haven't tried this, but would CallByname help. I have a post saved for you
http://www.codeguru.com/forum/showthread.php?t=338766