Display: Cloud | List
Most Popular Tags
Results (16 total) All > process (x)
Process.Close() does NOT exit the actual process (Process.Close Method (System.Diagnostics))
Process.Close() has no effect on the actual process executing in the system. It sends no WM_CLOSE message nor WM_QUIT message. Please use Process.CloseMainWindow() or Process.Kill() to exit the running process.
Last modified by soyuz on 12/30/2010 1:06:46 AM
Tags:  close  exit  kill  process
LNK2019 (Enumerating All Processes (Windows))
workaround should be found here http://blogs.msdn.com/b/vcblog/archive/2009/08/27/windows-sdk-v7-0-v7-0a-incompatibility-workaround.aspxfrom win7 the dll architecture changed for performance reasons, some function are not in psapi but in kernel32. refer to the article for a full explanation.
Last modified by Gallo_Teo on 9/30/2010 3:44:32 PM
Verb to elevate privileges (ProcessStartInfo.Verb Property (System.Diagnostics))
Use next code to run target process with elevated privileges (with admin rights):ProcessStartInfo info = new ProcessStartInfo(path) { Verb = "runas" };Process p = Process.Start(info);
Last modified by abatishchev on 8/29/2010 12:52:16 PM
VB.NET example of using this API to get parent process ID (NtQueryInformationProcess function (Windows))
Public Const PROCESSBASICINFORMATION As UInteger = 0 <System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential, Pack:=1)> _ Public Structure Process_Basic_Information Public ExitStatus As IntPtr Public PepBaseAddress As IntPtr Public AffinityMask As IntPtr Public BasePriority As IntPtr Public UniqueProc
Last modified by Chris128 on 2/6/2010 3:15:12 AM
Tags:  get  id  parent  process  vb.net
using System;using System.Diagnostics;namespace ProcesseWatch{ public class ProcessList { public static void Main() { foreach(Process oPro in Process.GetProcesses()) Console.WriteLine(String.Format("[{0}] : {1}",oPro.Id, oPro.ProcessName)); } }}
Last modified by Thomas Lee on 11/15/2009 8:51:53 AM
Tags:  blank  machine  process
Authentication of Messages Between ProcessesThe following figure shows the security features in BizTalk Server that enable you to authenticate messages between as different BizTalk hosts process them.Security features BizTalk Server uses to authenticate messages between processes. After BizTalk Server receives a message, decrypts and validates the message, and has a valid party ID (PID) and certi
Last modified by Microsoft on 9/30/2009 7:23:34 PM
There is only one "current directory" per process (Environment.CurrentDirectory Property (System))
Not one per thread. Beware!
Last modified by Medinoc on 2/6/2009 3:47:42 PM
waits for ErrorDataReceived and OutputDataReceived events to complete (Process.WaitForExit Method () (System.Diagnostics))
This overload will wait for all of the ErrorDataReceived and OutputDataReceived events to fire, before returning.
Last modified by davcamer on 12/20/2008 1:41:52 AM
Important difference when using asynchronous I/O (Process.WaitForExit Method (System.Diagnostics))
When reading the output and error streams asychronously using BeginErrorReadLine and BeginOutputReadLine the two overloads behave differently:Process.WaitForExit() will wait for all of the ErrorDataReceived and OutputDataReceived events to be delivered before returning.Process.WaitForExit(Int32) will return without waiting for all of the ErrorDataReceived and OutputDataReceived events to fire. If
Last modified by Thomas Lee on 4/7/2010 11:46:15 AM
Tags:  asynchronous  error  process
erratum: "change" should be "assign"; VB Snippet Editor (How to: Assign a Shortcut Name to a Snippet)
"To change the shortcut name for a snippet" should be "To assign the shortcut name for a snippet". This article is about adding a shortcut element, not about changing an existing one. For VB: Code snippets are really easy to create with Bill McCarthy's VB Snippet Editorhttp://billmccarthy.com/Projects/Snippet_Editor/ *(source code available too, same URL) *** http://msdn.microsoft.com/en-us/
Last modified by gerry lowry on 8/20/2008 2:37:59 AM
Page view tracker