Switching Forms

  • Thread starter Thread starter Anagnos -
  • Start date Start date
A

Anagnos -

I have a command button that needs to link to another form in the
project. In VB 6 this was easy. However, I cannot figure out how to open
up the form in .NET.

Thanks,
 
Dim MyNewform as new YourOtherFormName
MyNewForm.showdialog()
or MyNewForm.show()
 
Dim MyNewform as new YourOtherFormName
MyNewForm.showdialog()
or MyNewForm.show()

This is not switching, this is showing a New form.
However maybe that is what Anagos (The OP) means.

Just to get it right in this messagethread.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top