how to obtain correct Application Path at compile time

  • Thread starter Thread starter astroboy
  • Start date Start date
A

astroboy

eg.
My App location at c:\ABC\Bin\Exe.exe at Design Time(Compile Time)
I want it to return c:\ABC\Bin\
instead of
C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE

Thank you
 
Hi ,
USe the following
Application.StartupPath().ToString()

Thanks

Anand Balasubramanian
Microsoft, Visual Basic .NET

This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only. Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top