tags:

views:

766

answers:

2

Hello everyone. I want to know the application startup path for C# 2.0 windows form application. One way is Application.StartupPath. Is there another way to find the application startup path?

+2  A: 

AppDomain.CurrentDomain.BaseDirectory

Tadas
That will work most times, but what if you are executing in another AppDomain?
Mitch Wheat