Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 75
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

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