Multimobile Development: Building Applications for any Smartphone
System.Diagnostics.Process Class
Information   Base Types   Related Resources

Provides access to local and remote processes and enables you to start and stop local system processes.

  • Namespace: System.Diagnostics
  • Assembly: System.dll

  • System.ComponentModel.Component
    System.IDisposable
    System.ComponentModel.IComponent
  • View this type on MSDN
  • Search for this type on MSDN using MSDN's own search engine
  • Google for this type - all Web
  • Google for this type - MSDN only
    Articles (21)Discussions (1835)MembersRotor
    Discussions

    Page: 1234567891011121314151617181920
    2122232425262728293031323334353637383940
    4142434445464748495051525354555657585960
    6162636465666768697071727374
    "Contact" data in Outlook express (VIP replies)
    microsoft.public.dotnet.languages.vb
    I would like to access the "contact" data in Outlook Express. Which reference do I have to use ? (I was thinking at "Office"). Thanks for any help
    "Run As" in WinXP...HELP! (VIP replies)
    microsoft.public.dotnet.general
    hello, Im using "System.Diagnostics.Process.Start" to start program on a local computer. The local account does not have any prviledges to run this application, so i would like to use the "Run As" option in WinXP. (you can see this when you right click on an EXE file. Can anyone help me.......... Luis
    "Start Menu -> Run"/Shell Functionality from C# (VIP replies)
    microsoft.public.dotnet.framework
    I'm trying to duplicate the functionality of "Cmd /C" from within my C# windows application. This means that I want to create a function which will accept a string containing any of the things that "Start Run" can and will use the Windows shell's abilities to figure out what to do with a command string, including: * Executables themselves, * File names without application specified which are opene...
    "The specified module could not be found" problem (VIP replies)
    microsoft.public.dotnet.general
    I have built a .NET based service that uses a number of related 3rd party dlls. If I compile my code into a dll and use this in a test app all is well however if I compile my code as a service and try to run the service I get the following exception: System.IO.FileNotFoundException: The specified module could not be found. at CES.VendClientInt.VendClient.GetCardTypes(...) at YQ Epos server.CodeHan...
    %1 is not a valid Win32 application (VIP replies)
    microsoft.public.dotnet.framework
    Hi, We have a .net dll, which has a wrapper to command line tool. When we try to call we enocunter this error. When we execute the same command from command line it executes without error. Can anyone help us out with this problem? Following is the error we encounter. "d:\iw home\Teamsite\bin\iwgetfilejobs "\default\main\APAC\English\Demo\WORKAREA\workarea\templatedata\ExternalContent\1IntelWeb\dat...
    .exe started by a service crashes when sound card or USB device ac (VIP replies)
    microsoft.public.dotnet.framework
    When the process aft.exe is started normally (double click on .exe file), everything works OK! When I start aft.exe from a service using Process.Start(), aft.exe crashes when the sound card or a USB device is accessed. I thought the problem could be permissions. There is only one hardware profile on my computer.
    .NET has a broken Exception model (VIP replies)
    microsoft.public.dotnet.general
    public DateTime Value { get { try { return new DateTime(int.Parse(tbYear.Text), int.Parse(tbMonth.Text), int.Parse(tbDay.Text)); } catch (FormatException) { // do stuff here } catch (ArgumentException) { // do stuff here } catch (OverflowException) { // do stuff here } } Since there is no good base class (No, I won't catch System.Exception) I have to catch all three exceptions separately. If all t...
    .NET Parent/Child table relation (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.databinding
    Hi, Below is my code for setting up a parent/child relation. It seems to work as far setting up the relation is concerned. For instance, I'm using a DataGrid with navigation and I can move from the parent to the child tables and back etc. However, when I delete a row in the parent table, it does not delete the related child table rows. Furthermore, I also have to "manually" set the child table "re...
    2 instances of the program running (VIP replies)
    microsoft.public.dotnet.general
    I have created a VB.net windows forms application. If I have the program running and then I mistakenly click on my desktop icon again, I get a second instance of the program running. Is there anyway to check / prevent a second instance to startup and just take me to the already running application. (I have seen applications in the past do this... double clicking on the desktop icon just brings up ...
    2 instances of the program running (VIP replies)
    microsoft.public.dotnet.languages.vb
    I have created a VB.net windows forms application. If I have the program running and then I mistakenly click on my desktop icon again, I get a second instance of the program running. Is there anyway to check / prevent a second instance to startup and just take me to the already running application. (I have seen applications in the past do this... double clicking on the desktop icon just brings up ...
    A dumb quesion... how to execute an msi file? (VIP replies)
    microsoft.public.dotnet.languages.vb
    I just got it from the net... how can I install it or execute it? Thanks!
    A remote service problem (VIP replies)
    microsoft.public.dotnet.framework
    Hi. This is the problem: I need to construct an UI asp.net web application that will be able to start and stop game servers on a dedicated game server. I came up with an idea to make the server serve asp.net web form application that will be able to just run game servers and stop those using System.Diagnostics.Process class and it's methods. Well, I tried it using C# win32 desktop application it w...
    A remote service problem (VIP replies)
    microsoft.public.dotnet.framework.aspnet.security
    Hi. This is the problem: I need to construct an UI asp.net web application that will be able to start and stop game servers on a dedicated game server. I came up with an idea to make the server serve asp.net web form application that will be able to just run game servers and stop those using System.Diagnostics.Process class and it's methods. Well, I tried it using C# win32 desktop application it w...
    A remote service problem (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    Hi. This is the problem: I need to construct an UI asp.net web application that will be able to start and stop game servers on a dedicated game server. I came up with an idea to make the server serve asp.net web form application that will be able to just run game servers and stop those using System.Diagnostics.Process class and it's methods. Well, I tried it using C# win32 desktop application it w...
    A remote service problem (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webservices
    Hi. This is the problem: I need to construct an UI asp.net web application that will be able to start and stop game servers on a dedicated game server. I came up with an idea to make the server serve asp.net web form application that will be able to just run game servers and stop those using System.Diagnostics.Process class and it's methods. Well, I tried it using C# win32 desktop application it w...
    “Process.Start()” does not work on Windows 98 (VIP replies)
    microsoft.public.dotnet.framework
    Help Pleaseâ .this is urgent. At my office we just upgraded from VS2002 and .net 1.0 to VS2003 and .net 1.1. Now that we have upgrade our â œProcess.Start()â does not work on Windows 98, however it does work on Windows 2000 and Windows xp. I tried adding in your sample code of: Dim p As Process New Process p.Start("Http://msdn.microsoft.com") It still doesnâ t work on 98 however XP is fine. I was ...
    Access Denied executing Batch File from CreateProcessAsUser (VIP replies)
    microsoft.public.dotnet.framework.aspnet.security
    I am trying to run a batch file from within an Asp.net webservice and am receiving an Access Denied error. I have verified that the impersonated user has proper rights to the directory that the batch file is in by executing a program from the same directory. It seems that everything works fine for non batch file execution, but batch files return an error. I'm currently running under IIS 5. STH
    Access Denied on ManagementEventWatcher.Start (VIP replies)
    microsoft.public.dotnet.framework.wmi
    using Win2000 SP4, .NET 1.1 SP1. Inside my program, I run the following WMI query using ManagementEventWatcher.Start: "select * from instancecreationevent within 5 where targetinstance ISA 'Win32 NTLogEvent'" I have set EnablePrivileges in the ConnectionOptions. This usually works fine (we have about 5 installations). On one of the installations, however, I get an "Access Denied" Exception. The pr...
    Access denied when executing Process.Start() on my Server 2003 (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hello, I'm currently developping a web application and I'm trying to execute a batch file (.cmd) on the server side when the client presses a button on a web page. When I do this on my local machine (where I'm developping my application), no problem occurs. But when I put the web application on my Windows server 2003 server, I always get the following error message. Can someone help me ? Here is t...
    Access is Denied error using Process.GetProcesses() (VIP replies)
    microsoft.public.dotnet.framework.aspnet.security
    I am sure this has been covered as I am just now "sinking" into asp.net. I am getting an "Access Denied" error when the following code tries to execute: Dim myProcesses() As Process Dim myProcess As Process myProcesses Process.GetProcesses() 'This line FAILS! I am using a local machine using Win 2K and IIS 5.0. Any help is appreciated. Thank you, Elliot Semmelman
    Access violation loading .NET executables simultaneously (VIP replies)
    microsoft.public.dotnet.framework
    Hi we are MSDN Enterprise subscribers. Our no spam email address is: munter@computershare.com We have a production server (Win 2K SP4, .NET FW 1.1) with a service that schedules jobs, each of which involves running a .NET executable with command line params. When we try to schedule a number of these jobs at exactly the same time, some of these jobs (i.e 1 in 20) are failing with an exit code of 0x...
    Accessing preformance counters (VIP replies)
    microsoft.public.dotnet.security
    Can anybody tell me the minimum premissions that are required to access performance counters within windows 2003 server, perfreably by calling System.Diagnostics.Process.GetCurrentProcess().ProcessName. I keep getting an InvalidOperationException exception. Many thanks David
    activate command line and send arguments (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi all, is any one can tell me please how can i activate a command line options from my visual basic application like: i: cd etc... Thanks
    activate the Sound Recorder application (VIP replies)
    microsoft.public.dotnet.languages.vb
    how can I activate the Sound Recorder application in the entertainment on my window form?
    activating an application (VIP replies)
    microsoft.public.dotnet.framework
    I'm developing a stand alone windows application i VB.NET. The app starts another application via the Process class in background (no window yet) and then establishes a socket communication between them. The main app has a button which shall activate the 2nd app to display it's main frame. Arguments are sent via the socket and the 2nd app responds and shows the desired frame. And now to my problem...
    Ad
    BootFX
    Reliable and powerful .NET application framework.
    iOS, Android and Windows Phone Development Training and Consultancy
    Hosted by RackSRV Communications
     
    Multimobile Development: Building Applications for any Smartphone
    Copyright © AMX Software Ltd 2008-2010. Portions copyright © Matthew Baxter-Reynolds 2001-2010. All rights reserved.
    Contact Us - Terms of Use - Privacy Policy - 4.0.30129.1734