Is there a way to launch an Explorer window and highlight a file in that folder with WPF ? I've already tried the following :
Process ExplorerWindowProcess = new Process();
ExplorerWindowProcess.StartInfo.FileName = "explorer.exe";
ExplorerWindowProcess.StartInfo.Arguments = ConfigFile.File.FullName;
ExplorerWindowProcess.Start();
....
I am using flash to call a PHP page that needs to do a bit of processing. Is it possible to let PHP continue processing but show a response anyway so flash doesn't stall waiting?
...
Hi
I've made a program that create 5 pipes and fork 5 processes in a loop. I've managed to send data from the parent to each child processe, when each child processe is overlapped by another program. Each loop is done in the following manner
(parent.c):
// Child process - reads from pipe
if (childpid == 0) {
dup2(fd[0], 0); // re...
Why would a process want to call DuplicateHandle from the Win32API, and get it from another process instead of just acquiring the handle on some object itself?
Is there some advantage to calling DuplicateHandle or something?
...
Hi
You can create a thread given a delegate to method, can I create a process in the same way? I want to do that to be able to close the child process from task manger if something goes wrong.
I expect the answer is no and the only typical way is windows service.
Thanks
...
I need to subclass a richedit control in a chat program (I am trying to make a musicbot).
I dont know how to code in c/c++ but i was able to use c++ to inject a managed code into the chat program using CLR Hosting. But couple problems occurs. Hopefully I can get some help from here.
My managed code would exit after it finished the thre...
Are the processes in android asynchronous? If they are asynchronous then how can we conclude when the activity or process is finished or completed its execution.
...
Hi guys,
We have 2 applications. One written in C# and the other in C++. We need to maintain a counter (in memory) shared between these processes. Every time one of these applications start, it needs to check for this counter and increase it and every time the application shut-down it needs to decrease the counter. If the application has...
I need to find out what libraries a unix process has loaded and might use throughout it's lifetime. Is this possible and how. Or better yet, i have a library name and i need to find out what processes are using it, is this possible.
On the same note, is it possible to get notified some how when a unix process is launched and when it is ...
Is there a way to start a process using ssh that doesn't terminate when the ssh session terminates? I want the job to keep running on the computer I'm ssh-ing into without me having to keep the connection open.
...
I'd be interested to know what techniques people use to diagram initial process flow when in the initial design phases of a fairly complicated web application?
To be clear I am talking about the route through a process from the users perspective, and how that route branches based on decisions and conditions. I'm not trying to model und...
I'd like to run some NUnit unit tests against a class in a .Net class library assembly which is designed to be hosted by an external process (outside of my control) and loaded at runtime.
The class I want to test derives from a class defined within the host exe that requires it to be instantiated within the host process. Any attempt to...
I have multiple instances of the same Windows Forms .net 3.5 SP1 C# application running on the same machine.
Now I'd like to be able to communicate with them from .net, one instance at a time.
What's the most simplest way to do this?
I read a bit about WCF, but I have only found examples working with one server and one client. But in ...
I have an application monitoring application in C# and I am trying to fetch the path of a file edited from notepad (or opened in notepad). I am able to fetch the title of the active window using the native functions but not sure how to fetch the complete path.
Please let me know if anybody's knows how to accomplish this.
Thanks,
...
Many attempts have been made in the past to add timeout functionality in Python such that when a specified time limit expired, waiting code could move on. Unfortunately, previous recipes either allowed the running function to continue running and consuming resources or else killed the function using a platform-specific method of thread t...
I had problems with imagemagik convert and unicode filenames. I then wrote a echo.bat which simply does echo %1. What came back in stdout via .NET wasnt my unicode characters. Is there some kind of character limitation? I havent tested length of characters i can pass as an argument is there a limit on that?
...
i have to run process in background using thread and background worker. this process do the task of retrieve data from database,it retrieve successfully by i can not display that data into datagridview, there is give some data error event.
so,pls help me for this.
thanks .
...
Hi, I am trying to detect whether my process is being run in a debugger or not and, while in Windows there are many solutions and in Linux i use
ptrace(PTRACE_ME,0,0,0)
and check its return value, i did not manage to perform the same basic check on Mac Os X.
I tried to use the
`ptrace(PT_TRACE_ME,0,0,0)`
call but it always retu...
Hello,
I have a process that is created on windows machine (Lets call it PRS). The amount can be different amount. The processes are created by a nother process (Manager) which is defined as a service. the Manager get instructions and reacts according to the request (for example creating a new PRS, stopping PRS etc').
When creating (usi...
I want to create a process in Win32 .NET can I determine FOR the OS which PID the application will get ?
Update:
1) I am asking it because I have a problem in which I have 2 .NET application (the same ones) that I have each one of them got parameter ID and I want using a script (using the parameter) to decide which is the one and get ...