Solved

Running examples in Delphi 3 in 14 days

Posted on 1998-06-27
4
233 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

Highfive Gives IT Their Time Back

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

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

757 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

16 Experts available now in Live!

Get 1:1 Help Now