how to open form in vb.net

' Import necessary namespaces
Imports System.Windows.Forms

' Create a new instance of the form
Dim myForm As New Form()

' Set properties for the form
myForm.Text = "My Form"
myForm.Size = New Size(300, 200)
myForm.StartPosition = FormStartPosition.CenterScreen

' Add controls or customize the form as needed
Dim label1 As New Label()
label1.Text = "Hello, this is a form!"
label1.Location = New Point(50, 50)
myForm.Controls.Add(label1)

' Show the form
Application.Run(myForm)