process

Issue with IIS Worker Process User permission for new installation

Hi there, I mean issue with setting the Worker Process to read/write/modify. In what scenario/task do we need to use Worker Process for web script? Currently I only know of 1 scenario>> when a script want to resize image. What else? How can we easily set WP permission for a particular web folder automatically, so that we can carry ou...

Starting a Process as a Different User in ASP.NET

I have an ASP.NET MVC web app and in one of the controller actions I want to start process (exe file). The process needs to run under a domain user, because it accesses other resources on the domain. This can either be a single hard coded user, or the user that is currently on the web page. The web.config is using Windows authentication....

Opening default web browser

I am using the function below to open the user's default web browser. Public Function ShowHelp(ByVal url As String) As System.Diagnostics.Process Dim startInfo As New Diagnostics.ProcessStartInfo() startInfo.FileName = url startInfo.WindowStyle = ProcessWindowStyle.Maximized Return System...

PPV Code Review - Is it good idea?

I believe in (solo) code reviews a lot. But I am in a one-developer-shop now. I would like to have my code reviewed, and willing to pay money for it. Question: Is there a place where I can have my code reviewed for money? Note: I understand that most of us are willing to review some one else code for free, but there is a limit to h...

How to obtain process of newly created IE8 window?

When using .NET's Process.Start to run IE8's iexplore.exe, and if you already have another IE8 window open, then the iexplore.exe process that you just started will immediately exit, and its child process will attach to the main IE8 process. The result of this is your Process object will be linked to the "invoker" process that has alread...

task kill command does not work for c# app

I have c# winform bug: when the application is waiting for user input yes/no/cancel taskkill command line does not work. Any idea? ...

flash load multiple xml files

I want to load 3 unique xml files, then parse them individually. Now if all 3 xml files been successfuly loaded & parsed. I want to go to frame 10 otherwise stop and displaymessage. xml.onLoad = function(success) { is for one xml if I have three or more XMLs how do I know when all of the has been successfuly read and processed, to n...

Delphi - get what files are opened by an application

How can I get the list of opened files by an application, using Delphi? For example what files are opened by winword.exe ...

perl hangs on exit (after closing a filehandle)

I've got a function that does (in short): my $file = IO::File->new("| some_command >> /dev/null 2>&1") or die "cannot open some_command for writing: $!\n"; ... undef $file; Right now I'm not even writing anything to $file. Currently there are no other operations on $file at all. When I run the program, it doesn't exit properly. I...

get return Value from Process

Hi I am trying to do the following : I have a process this process can take parameters (digits) and return the sum of this numbers Process P = Process.Start(sPhysicalFilePath, Param); int result = P.ExitCode; I get the return value from "ExitCode" the problem is : the program sometimes finish his work before the proces...

Load multiple copies of dll in same process

I have a dll produced by a third party that has some sort of internal datastructure that limits it's size to X elements. So basically, it has a Queue with X as the limit. Now from what I've known DLL's are per process, but is it possible to load a DLL more than once? Maybe per thread? In C#? or in C++/CLI? I'm trying to load a native ...

How to determine if a Windows Process is running?

This is concerning Windows XP processes. I have a process running, let's call it Process1. Process1 creates a new process, Process2 and saves its id. Now, at some point Process1 wants Process2 to do something, so it first needs to make sure that process2 is still alive and that the user has not not killed it. How can I check that this...

Determine process id by clicking on the window of the executable in question.

Hi, can someone give me a clue as to how to accomplish the following: By clicking on an application's window, I'd like to determine the process id of executable concerned. ...

kill subprocess when python process is killed?

I am writing a python program that lauches a subprocess (using Popen). I am reading stdout of the subprocess, doing some filtering, and writing to stdout of main process. When I kill the main process (cntl-C) the subprocess keeps running. How do I kill the subprocess too? The subprocess is likey to run a long time. Context: I'm launchi...

How to measure an application loading time ?

Hi everyone, I am wondering how to measure an application Loading Time when user starts the process,application instance so that I can show a progress bar or something which informs users what's happening when application is loading or how much application loading is completed. I mean what if I want to show current progress with a prog...

Can a program delete its own executable

Is there any way that a running process can delete its own executable? For example, I make a console application (single exe) and after doing some tasks it somehow deletes the exe file. I have to send a single file to someone. And I want it deleted after it does its intended task. Is there anyway to do it in Windows ...

HLSL declaring a pass with angle brackets containing values..

In the directx post process sample the downfilter FX has the following code in it: //----------------------------------------------------------------------------- // Technique: PostProcess // Desc: Performs post-processing effect that down-filters. //----------------------------------------------------------------------------- technique...

Visual Basic (Visual Studio 2005) redirect inputstream to process

Hi, I've been searching around the net for roughly three hours now w/o getting forward. I don't know VB very well, but I need to create a wrapper program for any executable that logs the arguments, all input, output and err information: My wrapper is called: e.g. someApp.exe arg1 arg2 Logs to someApp.log: arg1 arg2 Calls original execu...

Best Development Process for Outsourcing Online

I’m having some terrible experiences trying to outsource development to people on websites such as ODesk and RentACoder. Small green-field apps seem generally ok (shoddy work is generally limited in impact), but it always turns to disaster when trying to get people to work with existing codebases. I’ve had a guy rated in the top 100 on...

How to determine which Process Template in VS2010 to use?

I am curious as to which Process Template in Visual Studio's Team Foundation Server people tend to use and why. I am a Solo Developer in a .Net shop that makes in-house apps only. I make all kinds of applications for our company. Many are critical and used daily by a majority of our 300 employee's. These app's will be around for awhi...