Go Premium for a chance to win a PS4. Enter to Win

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

How to form2.show in vb.net

Hi all,

In VB6 I used to show a form and lock it on the screen as:

form2.show 1

How do I do this in vb.net?

Thanks!
0
pvg1975
Asked:
pvg1975
1 Solution
 
nepaluzCommented:
Form2.ShowDialog()

Open in new window

and you can set the form's TopMost property to true
0
 
pvg1975Author Commented:
Hi Nepaluz!

Awesome, thanks so much!
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

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