Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 14th, 2006, 06:37 AM
Authorized User
 
Join Date: Dec 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with CPU time in killing process

we have a system named Flexpos and a software named pehchan pro.

the features of flexpos
                                1. touch screen monitor with small briefcase like cpu attached to it
                                 2.the monitor can be bent and put flat on the cpu

 this should be given to client with that s/w pehchan pro installed. when the system starts
only that pehchan pro exe should load(automatically)

we can do that if we kill all processes when the system starts and start pehchanpro exe manually

I'm able to kill the process explorer.exe but it's starting again automatically.if we keep on
killing that process continously by using for loop our requirement will be satisfied.
but it takes 100% cpu time and the system becomes very slow


 code to kill the process explorer.exe

Process[] myProcesses;
myProcesses = Process.GetProcessesByName("explorer");
//MessageBox.Show(myProcesses[0].ToString());
foreach(Process myProcess in myProcesses)
{
myProcess.Kill();
}







Similar Threads
Thread Thread Starter Forum Replies Last Post
Maximum job process time out lathika ASP.NET 2.0 Basics 0 July 11th, 2007 02:26 PM
process every time anoop.goyal Classic ASP Basics 0 May 25th, 2006 01:18 AM
Datareader problem, killing me joer80 ADO.NET 1 March 23rd, 2006 06:44 PM
Process problem wslyhbb C# 2 February 14th, 2006 01:48 AM
Builiding a time triggered process zicaden Pro PHP 4 September 10th, 2003 04:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.