Solved

Always on Top

Posted on 2004-09-02
3
184 Views
Last Modified: 2010-04-23
i need a code for vb.net which keep the form always on the top of any window of other application
0
Comment
Question by:ahmadfuwad
3 Comments
 
LVL 10

Accepted Solution

by:
prakash_prk earned 20 total points
ID: 11961659

Set the form's topmost property to true

form1.TopMost=true
0
 
LVL 27

Expert Comment

by:planocz
ID: 11962581
Also try....

Form1.ShowDialog()
0
 
LVL 8

Expert Comment

by:wguerram
ID: 11978006
Form1.ShowDialog() only keeps the form in front of the actual app, not of others apps.

prakash_prk's code does the job.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

772 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