G Guest Jul 5, 2005 #1 How do I open a child form in my parent form. I enter the child form name but there is no show method in the intelli-sense.
How do I open a child form in my parent form. I enter the child form name but there is no show method in the intelli-sense.
M Mike Labosh Jul 5, 2005 #2 How do I open a child form in my parent form. I enter the child form name but there is no show method in the intelli-sense. Click to expand... In VB 6, you would do this: frmChild.Show But in VB.NET, you have to create an instance of your child form first: Dim f As New frmChild() f.Show() If you want to show your child form modally: Dim f As New frmChild() f.ShowDialog() -- Peace & happy computing, Mike Labosh, MCSD "Mr. McKittrick, after very careful consideration, I have come to the conclusion that this new system SUCKS." -- General Barringer, "War Games"
How do I open a child form in my parent form. I enter the child form name but there is no show method in the intelli-sense. Click to expand... In VB 6, you would do this: frmChild.Show But in VB.NET, you have to create an instance of your child form first: Dim f As New frmChild() f.Show() If you want to show your child form modally: Dim f As New frmChild() f.ShowDialog() -- Peace & happy computing, Mike Labosh, MCSD "Mr. McKittrick, after very careful consideration, I have come to the conclusion that this new system SUCKS." -- General Barringer, "War Games"
H Herfried K. Wagner [MVP] Jul 5, 2005 #3 Mike L said: How do I open a child form in my parent form. I enter the child form name but there is no show method in the intelli-sense. Click to expand... \\\ Dim f As New FooForm() f.Show() /// In VB 2005: \\\ My.Forms.FooForm.Show() ///
Mike L said: How do I open a child form in my parent form. I enter the child form name but there is no show method in the intelli-sense. Click to expand... \\\ Dim f As New FooForm() f.Show() /// In VB 2005: \\\ My.Forms.FooForm.Show() ///