1. Main MDI Form
2. Contacts Form
3. Find Contacts Form
I select Contacts.vb from Mainmdi.vb using Menustrip. i have set a Find Button in Contacts.vb form, which will open a form FindContact.vb. i have created Findcontact.vb from Solution Explorer by Coding.
When i click on Find button the form appears but its not MainMDI child. See the image, and Suggest me what is solution
Here the form named Find contact is appeared in taskbar where the form named contacts does not appears in taskbar.
Dhavall VadherPosted Jul 26, 2010, 2:39 AM
I have solved this problem from other person's help.
I used below code, to solve this problem.
I placed this code in Find Button of Contacts.vb,
fin as new frmFind
fin.MdiParent = Me.MdiParent
fin.Show()
I have not deleted this post because, someone can get any idea or answer for their queries.