I'm having a problem while trying to open a PDF file using Process.Start().
The program runs the process as a background process but no adobe reader window show up. A solution i found was to use chrome.exe, but my client want to open on…
I run an external program from ASP.NET:
var process = new Process();
var startInfo = process.StartInfo;
startInfo.FileName = filePath;
startInfo.Arguments = arguments;
startInfo.UseShellExecute = false;
startInfo.RedirectStandardOutput =…
My users can attach documents to various entities in the application. Of course, if user A attaches a .TIFF file, user B may not have a viewer for that type of file.
So I'd like to be able to bring up this dialog:
alt text…
Suppose I have a C# WinForms application and it is started by external program simply by using Process.Start(MyModule.exe).
I've tried to debug my code by using My project properties->Debug->Start Action->Start external program (with setting proper…
Do programs started with Process.Start(exepath); terminate when the parent process ends? I'm getting some strange behavior with it and believe that could be the issue.
I am creating an app for the company I work for which will backup the data for some software we supply. It has options to add SQL databases, folders, files and reg keys to the backup job which are then put into a Zip file. There are also options…
I found some strange behavior in ie started by Process.Start() (.Net Framework)
To reproduce this just follow following steps.
Required:
C# IDE+compiler
outlook (in my situation: outlook 2010 - other versions should be the same problem but not…
I'm trying to use C# to open two separate browser windows side by side. I've tried using Process.Start(url) but that causes Chrome to open new tabs instead of new windows. This seems to work on IE, however I'd like to have code that can work with…
I'm unable to use Process.Start to start a simple console application when I specify user credentials. It appears that the call to Process.Start tries to start the application, but the application immediately fails with an event log entry (see…
So, I recently started trying to use an XNA program to start another XNA program.
I've been using the normal method of "Process.Start", which works fine when opening Firefox or Media Player.
However, whenever I try to start any XNA program (I've…
Here's what I'm doing. I have a loop that fires 20 processes using Process.Start(). I want them all to fire at once, however I want to catch them as they close. Is there anyway to do this in C#?
I know you can do process.WaitForExit(), but then…
I'm executing 3 exes using Process.Start() in my C# application. I want to run all these exes sequentially. Right now, each Process.Start() executes on its own in a parallel manner.
eg:
Process.Start(exe1ForCopying_A_50_Mb_File); …
I inherited some code that is now not working. It is supposed to use the Process class to start "Excel.exe". But if I break on the next line I can see the my process instance has the error: 'process.BasePriority' threw an exception of type…
I'm developing a program, where the user can start any application from the program. The program will store the process id of the application started, so it can terminate it when the user wants to.
Process application = new…
exe file using Process.Start() but it throws the "Win32Exception the parameter is incorrect".
Process p = new Process();
Process.Start("C:\Program Files\APS2PP\keyl2000.exe");
I can run this file through command prompt successfully.