Wednesday, May 12, 2010

What is the control used to interchange from one form to another in the same project in Visual Basic?

I am creating a program in Visual Basic and do not know how to interchange forms, i.e. change from one form to another in the same project. Please help me.What is the control used to interchange from one form to another in the same project in Visual Basic?
Forms don't change into other forms.





But if you have two forms designed, you can write VB code that will make one active or the other, based on events.





Forms(';Name';).Activate or


Forms(';Name';).SetFocus





I can't recall which at the moment, but it's one of these. Hope that helps!





-David


Applied Office - Microsoft Office Training - http://www.appliedoffice.net

No comments:

Post a Comment