Live Chat Icon For mobile
Live Chat Icon

How can I run an EXE from within my application

Platform: WinForms| Category: Deployment

Use the Process class found in the System.Diagnostics namespace.

[C#]
	Process proc = new Process(); 
 	
 	proc.StartInfo.FileName = @'Notepad.exe'; 
 	proc.StartInfo.Arguments = ''; 
	proc.Start(); 

[VB.NET]
	Dim proc As New Process()

	proc.StartInfo.FileName = 'Notepad.exe'
	proc.StartInfo.Arguments = ''
	proc.Start()

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.