Solved

How to form2.show in vb.net

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help with exporting to excel 4 44
VB.NET 2008 Publish Error 2 44
Winform Module - What is the ASP.Net equiv 2 39
location of a form 2 32
Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

749 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