Solved

Programmatically find the location of your executable at run time

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

707 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

19 Experts available now in Live!

Get 1:1 Help Now