?
Solved

Running examples in Delphi 3 in 14 days

Posted on 1998-06-27
4
Medium Priority
?
242 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 200 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

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…
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…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month11 days, 19 hours left to enroll

752 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