[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 74
  • Last Modified:

Create a form which is copy of a form in vb.net

Hello,

Windows should create replica form at run time.
i am using vb.net 2015 desktop
0
RIAS
Asked:
RIAS
1 Solution
 
Dustin SaundersDirector of OperationsCommented:
You can have multiple instances of the same form, so just create another form and set it to the Form you want it to be.  Example:
Dim myFirstForm As Form2
Dim mySecondForm As Form2
Dim myThirdForm As Form2

Set myFirstForm = New Form2
Set mySecondForm = New Form2
Set myThirdForm = New Form2

myFirstForm.Show
mySecondForm.Show
myThirdForm.Show

Open in new window


MSDN: https://msdn.microsoft.com/en-us/library/aa289529(v=vs.71).aspx
0
 
RIASAuthor Commented:
Perfect!
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now