Solved

I want my Project1.dproj back.

Posted on 2011-09-29
3
374 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

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses
Course of the Month8 days, 23 hours left to enroll

615 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