Solved

I want my Project1.dproj back.

Posted on 2011-09-29
3
363 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
Comment Utility
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
Comment Utility
:)
0
 
LVL 25

Expert Comment

by:epasquier
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now