RE: Installed program path

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi,

You can always find the directory path of the exe that started an
application using:

string myAppPath = Application.StartupPath;

Regards,

Rami Farhat




You can always use Application.

"Washington" wrote:

> Is possible to find where program is installed in the cases if path is
> changed during installation?
>
> Can you point me to specific information? If possible, real code sample.
>
> Thanks I appreciate your help.
>
>
>
.



Relevant Pages

  • Re: Exec a program on Windows that contains ( ) in the filename
    ... directory path nor would I encourage that. ... and others into the Program Files directory? ... directory for all programs that are 32-bit during the installation to ...
    (comp.lang.tcl)
  • InnoSetup (newbie): how to check destination directory
    ... Basically I want the "Select Destination Directory" part of the ... installation to give an error message that the program must be ... installed in a directory path without blanks if the user so happens to ... choose one and then allow the user to re-enter the destination ...
    (comp.lang.pascal.delphi.misc)