Jun 24, 2003 #1 M Mark82 Member Joined Jun 22, 2003 Messages 12 Ummm dont laugh i have only had .net for 2 days. But how do i show and hide forms in VB.Net like vb6s form1.show and form1.hide thanks for any help
Ummm dont laugh i have only had .net for 2 days. But how do i show and hide forms in VB.Net like vb6s form1.show and form1.hide thanks for any help
Jun 24, 2003 #2 wyrd Well-known member Joined Aug 23, 2002 Messages 1,408 Location California Try setting the Form.Visible property to true/false.
Jun 24, 2003 #3 M Mark82 Member Joined Jun 22, 2003 Messages 12 i am in a form named form1 if I type: form2. There is no visible or show methods the second form is named form2
i am in a form named form1 if I type: form2. There is no visible or show methods the second form is named form2
Jun 24, 2003 #4 M Mark82 Member Joined Jun 22, 2003 Messages 12 OK i figured it out Code: Dim MyForm As New Form2 MyForm.Show() is there no way of showing form2 just like "form2.show"
OK i figured it out Code: Dim MyForm As New Form2 MyForm.Show() is there no way of showing form2 just like "form2.show"
Jun 24, 2003 #5 V Volte Neutiquam Erro Joined Nov 17, 2002 Messages 2,165 User Rank *Expert* No; Forms in your projects are classes, just like any other; you need an instance of them to use them.
No; Forms in your projects are classes, just like any other; you need an instance of them to use them.
Jun 27, 2003 #6 H hibiki1979 Member Joined Jun 19, 2003 Messages 8 Location singapore You can try this. Me.show() for showing the form Me.Hide() for hiding the form It must be done on the form itself cause now vb .net is using OOP approach where each form is a class of its own. Me is referring to the current form. =
You can try this. Me.show() for showing the form Me.Hide() for hiding the form It must be done on the form itself cause now vb .net is using OOP approach where each form is a class of its own. Me is referring to the current form. =