Solved

I want my Project1.dproj back.

Posted on 2011-09-29
3
367 Views
Last Modified: 2012-05-12
I'm not sure what I did, but everytime I start a new project the form is Form2 and the project is Project2.dproj.

How can I have Form1 and Project1.dproj back again?

:)
0
Comment
Question by:QC20N
3 Comments
 
LVL 7

Accepted Solution

by:
ebob42 earned 250 total points
ID: 36814710
In your C:\Users\Bob\Documents\RAD Studio\Projects directory (where Bob is your name) remove the Unit1.pas/Unit1.dfm and Proiject.dpr/Project1.dproj (or save them somewhere else).

Delphi will look at the default project directory (on my machine at C:\Users\Bob\Documents\RAD Studio\Projects) and will find the lowest form and project number still avaliable (i.e. without an existing file already on disk).
0
 

Author Closing Comment

by:QC20N
ID: 36814860
:)
0
 
LVL 25

Expert Comment

by:epasquier
ID: 36814945
good one ebob42, I wouldn't have thought of it.

I was going to say :

hey, why do you care ? The FIRST thing to do when creating a new project is to save it as something better than this, in its own directory. Same goes for units and forms.

I, for one, would have liked that Delphi ASKS me the name of the project and create a sub dir to some root project dir with that name, and save the project file there as well with that name.
And of course the same with forms, units...
I find it painful in 2011 to still have to do it manually.

But maybe that's just me, and most Delphi users will find my organization too strict. But even then, couldn't some wizard do just that ?

Or maybe one knows that there is some Delphi Expert companion that automate this in a configurable way ?
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

778 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