Solved

Running examples in Delphi 3 in 14 days

Posted on 1998-06-27
4
235 Views
Last Modified: 2010-04-04
Working through "Teach yourself Delphi 3 in 14 days". No previous expierence with object programming.
Question:  examples given in front of book, how are these ran.
0
Comment
Question by:ffej
4 Comments
 
LVL 6

Expert Comment

by:Holger101497
ID: 1356014
I don't have the book, but I do have "Java in 14 days".

Does the book come with a CD or disk in it?
In that case, all you have to do is choose "File | Open" in Delphi 3, then find a file called somehing.DPR (not *.PAS!)

After opening that file, all you have to do to run it is to press F9 (or choose Run | Run).

It would be helpful if you could tell us what exactly your problem is?? You can't open the files? You can't find them? You can't start them? There is no CD/disk??
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1356015
ffej, like Holger says, delphi programs (projects) have a .DPR extention. To open them, go to File|Open, browse to the directory of the book and pick out an .DPR file. Then run this project (F9 or Run|Run, see Holger). C.u ZiF.
0
 

Accepted Solution

by:
ms99y earned 50 total points
ID: 1356016
I do not have the book and the CD, but have similiar books. If I am not wrong the CD  comes with some directories in it. They may also put some other third party tools or components. If you browse the CD with explorer, you must see that each chapter owns a seperate directory. Simply copy the source code of the chapter on which you are working and as said before open the file with the .dpr extension. Before doing that, do not forget the change the attributes of the all files, change  their readonly attributes. As you know since they are recorded to  CD , their attributes are setted to readonly. Forgetting to do that before openning the project file(the .dpr file), causes compiler error.

Later

0
 

Author Comment

by:ffej
ID: 1356017
The sample code was found in the directory \sams\code on the CD. (sams is for the publisher).  Thank you for your assitance.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

773 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