VS Team System
Windows Live
Game Technologies
Visual FoxPro
.NET Development
Windows Vista
Windows Forms
VS Express Editions
Visual C++
Smart Device
Visual C#
Architecture
Visual Studio
Visual J#
Microsoft ISV
Software Development Network>> Visual C#>> get the EXE directory from C#
get the EXE directory from C#
Hot Topic
Form
How do I get memory back when I don't use a FORM
C# and Lotus Notes
Problem with my own DLL
Connect to db by a from!
How do I solve this error ?
call constructor of base class
probs with space in textbox ?
get Fibonacci sequence number base on user input
intercept second window event
Visual C#
Search the database with dates range
very slow setpixel and getpixel method of bitmap class
set the Text value from another Form
How can I use spelling checking and grammar checking in my windows application
How to get USB Bluetooth Adapter information ?
Detecting Devices Using C#
?? What Does 'Strongly Typed' xxx Mean ???
Configure search locations programmatically
May introduce several good books?
Date
get the EXE directory from C#
From my code, I want to get the directory where the program is located.
All I could find is the current working directory:
string path = Directory.GetCurrentDirectory();
which is not quite the same thing.
Answer this question
get the EXE directory from C#
Corrine
Nevermind, I found it:
Application
.StartupPath
get the EXE directory from C#
Answer this question
get the EXE directory from C#
Corrine
Application
.StartupPath