Solved

Running examples in Delphi 3 in 14 days

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

739 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