Live Chat Icon For mobile
Live Chat Icon

How do I get the path to my running EXE

Platform: WinForms| Category: Deployment

The Application class has a static member ExecutablePath that has this information.

[C#]
	textBox1.Text = Application.ExecutablePath;

[VB.NET]
	TextBox1.Text = Application.ExecutablePath

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.