i just want to know it there is a way to pass some parameters with process start. I know it can be done with some spaces, but i want to send an adress and full name, both of them have their own spaces, and i need to send them as just 1 parameter.
I'm having problems with a program and its buttons (I know, I'm awesome lol) the buttons can be "programmed" to run programs. They also can be set to run as admin (different credentials).
If I set up simply notepad or cmd or explorer it runs like…
I am trying to running an executable without ".exe" extension, when I'm trying to run my ".bin" file (actually it's .exe but I renamed it with .bin for prevent confusion) It's shows to me program selector windows.
How can I avoid that?
If…
I need to check if a process is launched and then verify its exit code.
EXProcess.StartInfo.FileName = strExE;
EXProcess.StartInfo.Arguments = tempFile;
EXProcess.Start();
do
{}while (!rdcProcess.WaitForExit(1000));
if (EXProcess.HasExited)
{…
I programmed (C# .Net 3.5) a process to start when windows (XP) starts.
This process uses other files in the same folder as itself. Moreover,
it starts another process, again located in the same folder.
However, it seems like the process cannot…
For some unknown reasons, An Executable (iw4sp.exe executable for Call of duty modern warfare 2) runs normally when launched from explorer but crashes when launched by Process.Start() in my application. Any alternatives to Process.Start?? i tried…
I have a problem with opening a file in my .NET 6.0 C# WPF tool.
I'm searching for files in a directory that contains a specific string. Afterwards, the user should be able to open the found files with a button or similar.
The files, I'm finding. My…
Objective: I need to run this executable program on this path "\172.168.0.46\Inhouse Module\Michael Panaligan\AllUnit\RunCom.exe"
It's working on my local computer but not on IIS Server Side. I don't know why it's not working on IIS Server Side when…
I am trying open a downloaded file in it's default desktop application e.g. if that's a '.txt' file this should open in notepad and if it's a ('.docx') file, this should be opened using 'wordpad.exe' (if MS Word is not installed). I am trying to…
I'm trying to retrieve a file from the Process.Start()-Method.
Following scenario is given:
I obtain a link from a third party program. This link can be a UNC-path, direct link to PDF/JPG/TIF-files, such as "www.certainServer.de/test.pdf", as well…
I m trying to run new application in my application like new open. I use:
Process.Start(@"filelocation");
It is OK but when the user changes the file location, how can I make it found.