Solved

I want my Project1.dproj back.

Posted on 2011-09-29
3
372 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

735 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