Solved

how to set priority of application in vb.net

Posted on 2009-07-08
6
550 Views
Last Modified: 2012-05-07
i want to set the priority of my application to high using .net
0
Comment
Question by:mrpatil
6 Comments
 
LVL 21

Expert Comment

by:Tapan Pattanaik
Comment Utility
hi patil,

            Can you explain more? which type of priority?
0
 

Author Comment

by:mrpatil
Comment Utility
cpu priority due to which my application run faster than other running process
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
Comment Utility
You can use the following statement to set the priority of your application to high


System.Diagnostics.Process.GetCurrentProcess().PriorityClass =

System.Diagnostics.ProcessPriorityClass.High;

Open in new window

0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now