By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,573 Members | 1,912 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,573 IT Pros & Developers. It's quick & easy.

Shell priority

P: n/a
I'm using Shell() to call up an external program that eats CPU cycles,
and I want to lower it's priority. Any way of doing this?

Stuart.

Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
* Stuart <st****@stu.org.uk> scripsit:
I'm using Shell() to call up an external program that eats CPU cycles,
and I want to lower it's priority. Any way of doing this?


Untested:

\\\
Dim p As Process = Process.Start(...)
p.PriorityClass = ProcessPriorityClass.Idle
///

--
Herfried K. Wagner
MVP VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #2

P: n/a
>>I'm using Shell() to call up an external program that eats CPU cycles,
and I want to lower it's priority. Any way of doing this?

Untested:

\\\
Dim p As Process = Process.Start(...)
p.PriorityClass = ProcessPriorityClass.Idle
///


Thanks,
seems to work.

S.
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.