system.diagnostics
WaitForExit for programs of type MS Word - process already started
In my app I want to open *.rtf file, and than wait for it to be closed. Often user has MS Word to open *.rtf files and here is the problem. Code below works, but only when \"WINWORD\" process has not[详细]
2023-04-10 13:46 分类:问答PerformanceCounterCategory to string value
I am trying to retrieve the value of my readyboost cache I wrote the following code but it says the value does not exist[详细]
2023-04-08 09:15 分类:问答Assume always-trust is yes/true in GPG cmd
Im using GPG to encrypt a file in ASP.NET, C#. My code executes the command using ProcessStartInfo, and gpg.exe executes, but I have an issue. GPG asks me to authorize always-trust with \"y\" as the o[详细]
2023-04-01 09:26 分类:问答Process worker is not working on IIS 7
Lets take scenario, I developed web application (ASP.NET MVC) which shows list of .xml files and we select two .xml fil开发者_高级运维es for comparison and use a comparing utility like Beyond Compare[详细]
2023-03-29 05:07 分类:问答Custom TraceListener and multiple messages
I\'m having some difficulity with a custom TraceListener. The issue is that writing a single trace line produces two calls, one to Write(), the other to WriteLine(). The call to Write() contains the t[详细]
2023-03-26 09:12 分类:问答TextWriterTraceListener not working as expected when adding to System.Diagnostics.Debug.Listeners
Full Program: Option Strict On : Option Explicit On Module Module1 Sub Mai开发者_StackOverflow社区n()[详细]
2023-03-24 02:38 分类:问答Algorithms for reporting the progress of asynchronous function calls
What sort of algorithms are used to compute the progress of a function call? Obviously its easy to do if you have a loop, something like:[详细]
2023-03-22 17:08 分类:问答Is there a way to get a list of processes running on a local virtual machine?
I\'ve got a virtual machine running on Windows 7 called \"VirtualXP-12345\". I tried using System.Diagnostics.Process.GetProcesses(\"VirtualXP-12345\")[详细]
2023-03-19 17:30 分类:问答Save EventLog entries to Windows Azure Storage
I have an application that uses the System.Diagnostics.Trace and System.Diagnostics.EventLog classes to generate the logging information of the application.[详细]
2023-03-13 22:14 分类:问答Process.Start() in C# does not work for non-admin users
I am trying to run explorer.exe to open a开发者_如何学运维 folder and I am using System.Diagnostics.Process to do that.[详细]
2023-03-12 03:59 分类:问答