Live Chat Icon For mobile
Live Chat Icon

How do I launch IE or any other process from code?

Platform: WinForms| Category: General

You can do so using the System.Diagnostics.Process.Start method as follows:


// Just specifying the document name will open the appropriate app based on system settings.
Process.Start('Http://msdn.microsoft.com') 
// Open a word document in Word.
Process.Start('AWordDocument.doc')
// Or open the app directly:
Process.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.