Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error message : "could not find program"

Status
Not open for further replies.

garylafferty

Programmer
May 1, 2002
8
GB
I have been working on a project all day, and it compiles okay in Delphi(5).

When I press F9 to run the program, I get the following error message:

"could not find program, c:\gary\delphi5\admin.exe"

where admin is the name of the project.

I was working on this program earlier, and it was working fine - now it's not, and I have NO idea why! The .exe file is NOT in the folder, and if I copy in another .exe file and call it admin.exe , it runs that program instead of compiling my project???

There are no issues that i am aware of, no error messages came up or anything.

Does anyone please have any idea what could be wrong here, i just can't afford to lose all my work & have to start again from scratch.
 
Hi,

YES , I have done both build & compile ... neither gives any error message at all ...
 
I'm not 100% sure why, but check your Output directory in Project | options |directories/conditionals, if may be putting it in a different place than you think.

Is the date / time of the admin.exe matching the compilation date / time?

Or simply try closing down Delphi and restarting - maybe it's having a bit of a tantrum.
 
The default output directory is:

.../Borland/Delphi 5/Projects

Hope it helps, [bobafett] BobbaFet [bobafett]

Everyone has a right to my opinion.
E-mail me at caswegkamp@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top