Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Application to start topmost on windows

Posted on 2016-08-31
2
Medium Priority
?
85 Views
Last Modified: 2016-09-01
Hello,
I have a vb.net project when I start the exe the project form open behind the running applications on windows.How to make my main form the topmost.

I have code
from1.show

Cheers
0
Comment
Question by:RIAS
2 Comments
 
LVL 5

Accepted Solution

by:
TechieMD earned 2000 total points
ID: 41778885
Set
Form1.TopMost = True
Form1.TopMost = False

Open in new window

and it should bring it to the top, then the false makes sure it isn't ALWAYS on top.
0
 

Author Closing Comment

by:RIAS
ID: 41779367
Cheers!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Screencast - Getting to Know the Pipeline
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

927 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