process.start

How to Schedule a Process.Start in WPF

I am trying to restart an application in WPF. I tried the following: Process.Start(Application.ExecutablePath); Process.GetCurrentProcess().Kill(); And it doesn't work because the application is setup as a single instances application. Then I tired this: Process.GetCurrentProcess().Kill(); Process.Start(Application.ExecutablePath)...

Process.Start Performance

I've scoured the internet and this site in search of an answer to my problem to no avail. I'm completely out of ideas and desperate for answers! The issue: When I run a specific processor intensive executable from a .NET environment (using Process.Start()), the process takes upwards of five minutes to complete. In contrast, when I run ...

Running a program with System.Diagnostics.Process.Start causes a MissingMethodException

Hi, I'm working on a Compact Framework 2.0 project, and I'm trying to launch a program "B" from within another program "A" using Process.Start. I've done this several times before, but I'm running into some weird issues this time. Program "B" does launch, but it causes a MissingMethodException, basically telling me that it is missing ...

Process.Start slow when spawning more new processes

Processes launched via Process.Start seems to have around a 26-second delay when the spawned process (the "child") launches more new processes (the "grandchildren") - I'm trying to find a way to solve this issue. Specifically, this is occurring when the original process (the "parent") is an ASP.Net website or a Windows Service (tried bo...

Process.Start Problem

Hi, It's gonna be hard to try to explain this, but please bare with me... I'm using process.Start to run Convert.exe. This program's purpose is to convert all files which are in the exe's folder. So when I normally use it, I copy paste a file into the same folder as Convert.exe and then run Convert.exe. Convert.exe will create a new "c...

How to shut down from c#, Process.Start("shutdown") not working in windows XP

After some poking around on how to reset my computer and or shut it down from c# I found this explanation on how to do that: ManagementBaseObject outParameters = null; ManagementClass sysOS = new ManagementClass("Win32_OperatingSystem"); sysOS.Get(); // enables required security privilege. sysOS.S...