Hi
This may help.
I have a small working app. It happens to only have the default Form1.
To do what I think you want, I added a new Form and named it MyMainForm, of course, you would choose your own name and substitute accordingly.
Next, double click on My Project in Solution Explorer to open configuration window.
There, I set the Application -> Start Up Form to the new Form (MyMainForm)
I added a Panel1 in the Designer to MyNewForm and set Dock to Full.
Next, I added this code to MyNewForm:
Public Class MyMainForm
Private Sub MyMainForm_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim f As New Form1
With f
.TopLevel = False
.Parent = Panel1
.Dock = DockStyle.Fill
.FormBorderStyle = FormBorderStyle.None
.AutoScroll = True
.Show()
End With
End Sub
End Class
The various Properties can be adjusted to suit, but I would suggest trying to run each time you edit/remove/add Properties so that any problems can be pinned down to the last edit.
NOTE: I did not change anything in the original Project code at all.
If you want to try this out (best to try first). then use any existing working Project you already have, make a backup just in case (all that is needed is Copy Project folder, and Paste to same parent folder - file system will add a '- Cop(n)' to name)
Using the existing Project that you have just backed up, follow the above and see what happens.