Replies To: get the current file location

Re: get the current file location

Posted 18 January 2012 - 01:49 PM

string appPath = Path.GetDirectoryName(Application.ExecutablePath);

Finding answers to specific problems:
Sometimes just knowing where to look can make all the difference. Google is your friend.
Search with either "C#" or "MSDN" as the first word: "MSDN Picturebox", "C# Custom Events", "MSDN timer" etc. How to do a good search that will get you targeted answers.

Re: get the current file location

Posted 19 January 2012 - 09:04 PM

tlhIn`toq, on 18 January 2012 - 01:49 PM, said:

string appPath = Path.GetDirectoryName(Application.ExecutablePath);

Finding answers to specific problems:
Sometimes just knowing where to look can make all the difference. Google is your friend.
Search with either "C#" or "MSDN" as the first word: "MSDN Picturebox", "C# Custom Events", "MSDN timer" etc. How to do a good search that will get you targeted answers.