Re: Shellexecute question
- From: "Bjørge" <bjorge@xxxxxxxxxxxxxxx>
- Date: Mon, 19 Dec 2005 10:28:04 +0100
Mike Glazer wrote:
> The problem I have is suppose I send my program to someone else who
> might have installed the external application to a non-standard
> folder on their machine. What I need then is some code in my program
> that automatically picks up the .exe file of the external application.
That's exactly what the registry is for - holding information about e.g. the
location of your application. Make your app maintain a registry entry, and
read this value whenever you need to locate it.
While it's a good thing to take alternative apps locations into
concideration, most users install using default path. You may then ask the
user to locate the application manually, or start a search for the file in
question. *if* the registry trick isn't an option...
--
Bjørge
bjorge@xxxxxxxxxxxx
.
- References:
- Shellexecute question
- From: Mike Glazer
- Re: Shellexecute question
- From: Noel
- Re: Shellexecute question
- From: Mike Glazer
- Shellexecute question
- Prev by Date: Re: Shellexecute question
- Next by Date: Re: fast drawing in delphi
- Previous by thread: Re: Shellexecute question
- Next by thread: Re: Shellexecute question
- Index(es):
Relevant Pages
|