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.

	Process proc = new Process(); 
 	proc.StartInfo.FileName = @'Notepad.exe'; 
 	proc.StartInfo.Arguments = ''; 

	Dim proc As New Process()

	proc.StartInfo.FileName = 'Notepad.exe'
	proc.StartInfo.Arguments = ''

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.