Solved

Programmatically find the location of your executable at run time

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

770 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