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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatically rename an executable file in Delphi - how to do? 1

Status
Not open for further replies.

CHeighlund

Programmer
Jun 11, 2007
163
US
I have been requested to work on a project by my boss. The request included a suggestion to use a previous program (written by my predecessor in this position) as the basis for the new one, as it already provides the end user with much of the functionality he or she will need. (Basically, the new project is intended in some ways to be an expansion of the old one.)

I'm running into a few problems with this, however. Attempting to create a new project, then copy the components from the old form into the new form, throws a few errors. Normally, I would just work with a copy of the previous program. It appears I'm going to have to do that here anyway.

Therefore, I only really have one question at this point: How do I force Delphi to rename the executable file (*.exe) for the program, so it reflects the new program's name rather than the old one?
 
One way is to open your .dpr file where you can see "program Project1;" and then do a File, Save As...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top