Solved

How to form2.show in vb.net

Posted on 2011-09-16
2
346 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

786 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