Solved

Programmatically find the location of your executable at run time

Posted on 2009-04-11
3
383 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now