PDA

View Full Version : Delphi 6 Tutorial (Chapter 1)


_I_Play_Chess
10-10-2003, 11:49 AM
Introducing Borland Delphi

Page 1: What is Borland Delphi?

Welcome to the first chapter of the FREE online programing course:
A Beginner’s Guide to Delphi Programming.
What is Borland Delphi? Where to download a free version, how to install and configure it.

What is Borland Delphi?
Borland Delphi is a sophisticated Windows programming environment, suitable for beginners and professional programmers alike. Using Delphi you can easily create self-contained, user friendly, highly efficient Windows applications in a very short time - with a minimum of manual coding.


Delphi provides all the tools you need to develop, test and deploy Windows applications, including a large number of so-called reusable components.
Borland Delphi, in it's latest version, provides a cross platform solution when used with Borland Kylix - Borland's RAD tool for the Linux platform.

Delphi's roots lie in Borland's Turbo Pascal, introduced in the mid-1980s. Object Pascal, the object-oriented extensions to Pascal, is the underlying language of Delphi. The Visual Component Library, or VCL, is a hierarchy of Object Pascal objects that allow you to design applications. A better way of describing Delphi is an Object Pascal-based visual development environment.

Delphi editions
The latest version of Delphi (in the moment of writing this chapter), version 6, comes in three different editions:

Delphi Personal - makes learning to develop non-commercial Windows applications fast and fun. Delphi 6 Personal makes learning Windows development easy with drag-and-drop visual programming.
Delphi Professional - adds the tools necessary to create applications with the latest Windows® ME/2000 look-and-feel. Dramatically enhance functionality with minimal code using the power and flexibility of SOAP and XML to easily integrate Web Services into client-side applications.
Delphi Enterprise - includes additional tools, extensive options for Internet. Delphi 6 makes next-generation e-business development with Web Services a snap.
This Course will concentrate on the Personal edition. The Personal edition can be downloaded from Borland site. This edition is perfect for beginners since it is free for non-commercial use. As you will see through this Course, Windows development is easy with Delphi Personal 6 drag-and-drop visual design environment, step-by-step examples, and a Visual Component Library with over 85 reusable components.

Of course, if you already have a Delphi 6 CD (Professional or Enterprise) you are welcome to join this Course.
Note: To purchase fully licensed versions of Borland products visit: http://shop.borland.com/

(to be continued) next is page 2

_I_Play_Chess
10-10-2003, 11:56 AM
Introducing Borland Delphi

Page 2: Where to download FREE Delphi 6 Personal

Note: for the moment Borland has stopped the free download of D6Personal. Within several weeks, you'll be able to download the new version of Delphi: Delphi 7 Personal (for free).

As stated before, the Personal edition of Delphi 6 is freely downloadable from Borland site. Go to Delphi 6 Personal Edition download page, and follow the 3 steps to obtain your serial number, authorization key and then proceed to download.

First, you'll need to create a software registration account at Borland - if you already don't have one. Second, you'll be asked to answer a brief survey. And finally, you are allowed to download Delphi 6 Personal and receive your serial number and authorization key via email.



When you get to the download page click on the BorlandDelphiPersonalEdition.EXE link to start the download. Save the file BorlandDelphiPersonalEdition.EXE to your hard drive.
After downloading, run BorlandDelphiPersonalEdition.EXE to unpack the installation files.

Note: In the "Borland Delphi Personal Installer" you'll find several interesting folders. In the \Documentation folder you'll find three PDF files. Developers Guide, Quick Start and Object Pascal Language Guide. You'll be using those books frequently. In the \Info\Extras there are several great tools and components. For example, the \Info\Extras\SendKeys includes two functions that simulate popular Visual Basic routines: Sendkeys and AppActivate.

Installation
To install Delphi 6 Personal, after you have unpacked the installation files, run INSTALL.EXE (default location C:\Program Files\Borland Delphi Personal Installer) and follow the installation instructions.

You are prompted to select a product to install, you only have one choice "Delphi 6":
While the setup runs, you'll need to enter your serial number and the authorization key (the one you got from Borland in your email box).
Later, the License Agreement screen will popup:
Note: Here is a scrap from the
LICENSE TERMS FOR THE WORKS YOU CREATE USING BORLAND DELPHI PERSONAL VERSION 6
You may not use the Software for any commercial, business, governmental or institutional purpose of any kind ("Noncommercial Purposes"). Borland grants to you as an individual, a personal, nonexclusive license to install and use the Software for the sole purposes of designing, developing and running, in source and compiled form, the works which you create for your own personal Noncommercial Purposes, using the Software ("Works"), subject to the restrictions in this License Agreement. You may distribute your Works to others. You may not receive any direct or indirect compensation for the distribution or use of your Works.

After that, you have to pick the Setup Type, choose Typical. This way Delphi 6 Personal will be installed with the most common options. The next screen prompts you to choose the Destination folder.

At the end of the installation process, the set-up program will create a sub menu in the Programs section of the Start menu, leading to the main Delphi 6 Personal program plus some additional tools.

Note: For a faster access to Delphi, create a shortcut on the Windows Desktop.

Next page > Starting Borland Delphi > Page 1, 2, 3

_I_Play_Chess
10-10-2003, 12:44 PM
http://info.borland.com/devsupport/delphi/registered_users/index.html

_I_Play_Chess
10-10-2003, 01:06 PM
Introducing Borland Delphi

Page 3: Starting Borland Delphi

Running Delphi for the first time
You can start Delphi in a similar way to most other Windows applications:


Choose Programs | Borland Delphi 6 | Delphi 6 from the Windows Start menu
Choose Run from the Windows Start menu and type Delphi32
Double-click Delphi32.exe in the $(DELPHI)\Bin folder. Where $(DELPHI) if a folder where Delphi was installed. The default is C:\Program Files\Borland\Delphi6.
Double-click the Delphi icon on the Desktop (if you've created a shortcut)
Registering Delphi 6 Personal
The first time you run Delphi 6, you'll need to register your copy. Since you've downloaded the Software from Borland site, use the option to register through your web browser:

This will lead you to the Borland web site, where you will need to enter your registration information. In the last step you'll obtain the Activation Key.
And finally, you have run your copy of Delphi 6 Personal for the first time.

Update Pack
After you've successfully installed Delphi Personal I suggest you to obtain the latest Update. For the moment, Update Pack 2 is available for registered users (which you are now) from this page: Delphi 6 Downloads. After installation, proceed to download Delphi Personal Documentation Update.

To the next chapter: A Beginner's Guide to Delphi Programming
This is the end of the first chapter, in the second chapter, we'll take a quick tour of the main parts and tools of the Delphi IDE - integrated desktop environment.

_I_Play_Chess
10-22-2003, 01:42 PM
Go see the link buddy.


Voici le chap 1
http://www.limpkinw.com/forums/showthread.php?forumid=14&threadid=1821