whenever i open a form within a form in vb6.0 it goes back of the other form how can i solve it?

You mean that you want to open the form1 but it open form2? something like that?
You can remove the current form and add it back.

Or do you want the second form to open inside the first form? If you start a new project using the application wizard and set it for Multiple document Interface, you get a working sample on how to set one up.

displaying multiple forms together is a different thing , and form within a form is different . which one do you want ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.