Print Page | Close Window

What is the process is to limit the priority of the application I have created?

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=160
Printed Date: 07-Nov-2025 at 8:59am


Topic: What is the process is to limit the priority of the application I have created?
Posted By: Customer
Subject: What is the process is to limit the priority of the application I have created?
Date Posted: 12-Jul-2007 at 12:30pm
What is the process to limit the priority of the application I have created.  Or at least limit the processor usage a bit.  This is due to the fact that if it is a lengthy running program, it literally keeps  the processor at 100% usage until the last command is issued.



Replies:
Posted By: IdeaBlade
Date Posted: 12-Jul-2007 at 12:31pm
There is nothing special that DevForce does with respect to setting application priority.  Set application priority the same way that you would with any .NET application.  See:
 
http://msdn2.microsoft.com/en-us/library/system.diagnostics.process.priorityclass.aspx - http://msdn2.microsoft.com/en-us/library/system.diagnostics.process.priorityclass.aspx
 



Print Page | Close Window