I am working on a program and I need to click a button on the main form (we'll call it frmForm1). When I click the button on frmForm1, I want frmForm2 to appear. However when I click on the button, nothing happens. The code I used is as follows
I know that works with VB6, but it doesn't seem to work with .NET. Can anybody tell me what the code is to make a form appear?
Thanks in advance.