Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 190
  • Last Modified:

Always on Top

i need a code for vb.net which keep the form always on the top of any window of other application
0
ahmadfuwad
Asked:
ahmadfuwad
1 Solution
 
prakash_prkCommented:

Set the form's topmost property to true

form1.TopMost=true
0
 
planoczCommented:
Also try....

Form1.ShowDialog()
0
 
wguerramCommented:
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now