Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# how to run external program

Process ExternalProcess = new Process();
ExternalProcess.StartInfo.FileName = "Notepad.exe";
ExternalProcess.StartInfo.WindowStyle = ProcessWindowStyle.Maximized;
ExternalProcess.Start();
ExternalProcess.WaitForExit();
Comment

how to run an external program with c#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace Demo_Console
{
    class Program
    {
        static void Main(string[] args)
        {
            Process ExternalProcess = new Process();
            ExternalProcess.StartInfo.FileName = "Notepad.exe";
            ExternalProcess.StartInfo.WindowStyle = ProcessWindowStyle.Maximized;
            ExternalProcess.Start();
            ExternalProcess.WaitForExit();
        }
    }
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: round to float unity 
Csharp :: unity mouse position to world 
Csharp :: how to convert float to int in c# unity 
Csharp :: unity check if number is multiple of x 
Csharp :: check connection c# 
Csharp :: unity get distance between two objects 
Csharp :: c# or 
Csharp :: unity check for internet connection 
Csharp :: unity on mousewheel down 
Csharp :: c# get unix timespan 
Csharp :: c# get full URL of page 
Csharp :: base64 to image c# 
Csharp :: unity change text 
Csharp :: how to print in c# 
Csharp :: c# create new thread 
Csharp :: c# int input 
Csharp :: how to change the title of the console in c# 
Csharp :: unity check when clicked on object 
Csharp :: C# cycle through directory 
Csharp :: create asset menu unity 
Csharp :: unity serializefield 
Csharp :: move file c# 
Csharp :: c# create array of number from number 
Csharp :: subtract two times c# 
Csharp :: c# change cursor 
Csharp :: how to update a project to cross target .net core 
Csharp :: public static void Load 
Csharp :: Unity C# make object face away 
Csharp :: how to get the time since play unity 
Csharp :: system.linq.iorderedenumerable`2[system.char,system.char] çözümü 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =