Help with VB 4.0 and forms

I cant get the other forms to show in a prog with the frm.show thing, It says Object required...and then the prog closes...I was wondering if you could help me...I heard I might need to make a DLL file, or get one.
Klueny2Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
MikeP090797Connect With a Mentor Commented:
You have to use .Shoe on a form that exists, like if you have a form named form2, use form2.Show
anything else will generate an error
0
 
watyCommented:
If your command is

   frm.show

"frm" should be a valid form or even a variable used as following :

   Dim frm     as New Form

   Set frm = frmMainWindow

   frm.Show
0
 
Klueny2Author Commented:
It says Sub or function not defined with "set"
0
 
watyCommented:
frmMainWindow should be a valid form in your project. It has been givan as a sample
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.