Solved

Programmatically find the location of your executable at run time

Posted on 2009-04-11
3
387 Views
Last Modified: 2012-05-06
How can you programmatically find the location of your executable at run time.
0
Comment
Question by:mikelittlewood
  • 2
3 Comments
 
LVL 8

Expert Comment

by:BdLm
ID: 24121753
0
 
LVL 8

Accepted Solution

by:
BdLm earned 100 total points
ID: 24121762
pls try :

ExtractFilePath(Application.Exename);
0
 
LVL 15

Author Comment

by:mikelittlewood
ID: 24121783
Hi BdLm.
Thanks for your answers, not sure why I posted this in the end, I just wasn't thinking what I was asking. Knew the answer already lol.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question