Show UserControl in Form VB6

forms, user-controls, vb6

Solution

1- Close UserControls in your designer to made them available in toolbox.

2- Drag & Drop them on your main form, made them same size...

3- Use code like this for your operations:

Private Sub Operation1()
    UserControl1.Visible = True
    UserControl2.Visible = False
End Sub

Private Sub Operation2()
    UserControl1.Visible = False
    UserControl2.Visible = True
End Sub

[Choose UserControl type!]

Problem

I want to show the UserControl into the form, this means i need a single form to perform like multiple form See this image for details: Can someone help me how to?, and one again, what's the type must i choose to use the usercontrol (Standard EXE, ActiveX EXE, or else). NOTE: Please DON'T close this question, i just want to know. and thanks.

Original source