I'm trying to launch a WPF .exe from my VisualWebGUI (winforms on the web basically) application. Everything works fine when I run it through VS2010. However when I deploy the site to IIS it does launch the .exe (I can see it writing out to a log…
I want to run an r script in vb.net which saves data in a .csv file. Till now i found the following approaches:
dim strCmd as String
strCmd = "R CMD BATCH" + "C:\test.R"
process.start("CMD.exe", strCmd
apparently this should work but in my case the…
I am working on renewing an application. The old code had a main method which went through the running processes on windows and checked to see if a certain required process which is a part of the application is running, and if not it starts it. This…
I'm fairly new to c# and this forum in general but as far as I'm concerned, I haven't seen any question like mine that will solve my problem.
I'm calling the method Process.WaitForExit() to wait until an installation file finishes to install.…
Im making a small loader for the game PSOBB but for the offline version, im lazy to go in a folder called "servers" and launch all 3 server executable files, so thats y im making this program. So my problem is that i made a button that launches the…
c# I want to Detect if a launched program has been closed. I am currently launching it with the command
Process.Start(Environment.CurrentDirectory + @"\Card Downloader.exe");
Has anyone got a way of doing this perhaps using a different launcher?
Possible Duplicate:
C# Only part of a ReadProcessMemory or WriteProcessMemory request was completed during Process.Kill()
I'm trying to kick off a new process from my current process. I'm using processInfo and process.start to do this. The new…
Possible Duplicate:
Opening html file with query string
I'm writing a simple console app using c# and I'm trying to open a local html file with "name" parameter. For now I'm using const url (For testing...):
"file:///D:/index.html?name=bob"
The…
How do I launch the "Manage another account" page from the "User Accounts" section in the control panel from a C# application?
I can currently launch the "User Accounts" app by using the command:
System.Diagnostics.Process.Start("control.exe",…
I am developing wpf application in C#. I am using grib files in my application. I want to convert this grib file content into csv file. From command prompt I can easily do this. For this in command prompt I need to go to the folder location of…
I'm trying to run a vb script using process.start() as another user that have admin rights, but i always get the UAC popup with username and password to fill. What i'm i doing wrong?
var scriptProc = new Process
{
…
I am trying to open a file which a user can set. In other words it will never be a set path or file. so when the user has selected the file they want to open this button below will open it. I have declared l1 and p1 as public strings.
public…
Possible Duplicate:
.Net Process.Start default directory?
I have a C# application, mono to be specific. This application needs to launch another application on the users system. I know of Process.Start and how to use it, but theres something…
I'm trying to make my program open a link to a local HTML file in the user's default browser as a quick way to open a help page for my program. From what I gathered, using Process.Start(path) was the easiest way to do it, but when calling it, I get…
Full repro example (.NET Framework 4.8 Console application, Windows 10):
using System.Diagnostics;
using System.Windows.Forms;
static class Program
{
static void Main()
{
var p = Process.Start("explorer.exe", @"C:\Windows");
…