Solved

How to form2.show in vb.net

Posted on 2011-09-16
2
343 Views
Last Modified: 2012-05-12
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
Comment
Question by:pvg1975
2 Comments
 
LVL 17

Accepted Solution

by:
nepaluz earned 500 total points
ID: 36552476
Form2.ShowDialog()

Open in new window

and you can set the form's TopMost property to true
0
 

Author Closing Comment

by:pvg1975
ID: 36552500
Hi Nepaluz!

Awesome, thanks so much!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now