Solved

Always on Top

Posted on 2004-09-02
3
185 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exit the loop 4 49
VB: Convert 2 dates to specific format 24 53
Store results in vb.net 3 25
VB.NET 2008 Publish Error 2 34
This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
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 …
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 …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

820 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