Your full service technology partner! 
-Collapse +Expand
Search Delphi Group:

-Collapse +Expand Delphi To/From
-Collapse +Expand Delphi Store

Prestwood eMagazine

October Edition
Subscribe now! It's Free!
Enter your email:

   ► eMag   Print This    All Groups  
View Group Edition:
Full Edition Your Edition || Prev Next || Subscription Center

Prestwood IT Newsletter Mar 2010 Issue - Delphi Edition


Start subscribing now! It's free!

Each month on or after the 1st, and only once a month, we will send you content from up to 5 community groups. If you select this Delphi group, you'll receive the following content below mixed in with the other groups you elect to include.

Prestwood eMag
Our monthly opt-in coupons+newsletter.
  March 2010 - Delphi Edition (762 of 4,803 subscribers receive this group's content.) Year 12 Issue 3  
Your full service technology partner!
From The Editor
Mike Prestwood

This edition, March 2010, is coming out late in the month. I held up sending it because we are trying to improve layout and content of our monthly eMag. Our goal is to deliver a better free product to you. We appreciate you subscribing and we want to make sure our eMag is of interest to you and contains useful information and links. You'll notice this month's eMag has a simpler look and feel to it and you'll see many more improvements like this over the next few months.

We also know that our servers lately have, at times, been slow. Right now we are migrating to our viaVerio hosting farm (same servers we use with our hosting clients). We will be moving in the next month or so to a new server. Until then, thank you for putting up with our occasionally slow website.

Again, thank you for subscribing to our monthly eMag.

--Mike Prestwood

Expert guidance from working professionals!
Ramesh R
General, Getting Started, etc. topic:
Critical Thinking in technical writing
by Ramesh R

Critical Thinking skills comes automatically as a writer becomes experienced over a period of time. Learning to write and transforming the ideas into writing help develop critical thinking aspects/skills. A clear set of phases/activities are inititated in the human brain as part of critical thinking. This article helps to understand the learning basics, learning process and the impact of writing that drives critical thinking skills. This is a good read for all our technical writing friends across the globe.

 Delphi Group Top 
Visit Group | My Group Settings
BDE topic (classic post):
A 10 Minute Delphi 2009 Paradox BDE TTable Quick Start
by Mike Prestwood

This KB Post addresses accessing Paradox tables through the BDE using TDatasource, TTable, and TDBGrid. This tutorial was updated for Delphi 2009 but applies to all versions of Delphi.

Language Basics topic (classic post):
A 10 Minute Delphi Console App Quick Start
by Mike Prestwood

Create a classic "Hello, World" Windows native code Console App using Delphi. This tutorial is based on Borland Developer Suite 2006 but you can use any version of Delphi you wish. In this tutorial, you will create a classic "Hello, World!" windows console application. A console application is a type of Windows application that has FULL access to the Win32 API, but it's GUI is limited to a DOS-like text window. When Windows starts a console application, it creates a text-mode console window where the program can display text and the user can interact with the program via the keyboard.

 Monthly Delphi Lesson
OOP Topic:
Code Snippet of the Month

Delphi uses the keywords procedure and function. A procedure does not return a value and a function does.

//Interface section:
TCyborg = class(TObject)

  procedure IntroduceYourself;
//Implementation section;
procedure TCyborg.IntroduceYourself;

  ShowMessage('Hi, I do not have a name yet.');
//Some event like a button click:

  T1: TCyborg;
  T1 := T1.Create;
Language Basics Topic:
Definition of the Month: Delphi Module
A unit. A unit is defined in its own source file (a .PAS file) that contains types (including classes), constants, variables, and routines (functions and procedures). Each unit begins with unit UnitName; where UnitName must match the filename (minus the .PAS extension). The .PAS unit files are compiled into Delphi Compiled Units with a .DCU extension. A Delphi program is constructed from units. Specifically, the .DCU files are linked into your application. The Delphi compiler is very fast because it only recompiles units that have changed. You can force Delphi to recompile all units with a build all.
Delphi for Win32 Topic:
Documented Error of the Month: Program or unit recursively uses itself

[DCC Fatal Error] Program or unit 'Buttons' recursively uses itself


You cannot create a Delphi unit with the same name as is already in use. For example, do not create a buttons.pas unit for your application because the VCL already has a Buttons.pas unit. The solution is to rename your unit.

Delphi for Win32 Topic:
Resource Link of the Month: Book: Delphi 2007 for Win32 Development Essentials

Bob Swart, affectionately known by some of us as "Dr. Bob," has long been a great resource for details about Delphi development.

I'll never forget how, when I first had to write a Windows service in Delphi, Dr. Bob's articles provided the most lucid explanations about all the ugly details of Windows Services.

Swart, being a well recognized Delphi authority, I'll read any thing the good doctor publishes. I'm drooling to get my hands on this one.

BDE Topic:

I have an application in Delphi 1-7, using BDE. Is there a way that I can upgrade the BDE so the can work with MSSQL 2005 or 2008. They work fine if MSSQL2000 is is used. Am I on a dead end or there is still hope?

In 2001 or 2002, Borland announced that they were stopping development on the BDE and on SQL Links. That news affected SQL Links users most since SQL Servers change more dramatically than Paradox and dBase do. So, yes, you are in a bad situation.
You could continue with the BDE using the ODBC drivers for MS SQL but most developers switched out BDE/SQL Links for ADO/dbExpress. My suggestion is to take a look at switching out to ADO.
Tool Basics Topic:
Tip of the Month

To insert a GUID into code using the Delphi Editor, use Control + Shift + G.



However, if you are using either the Visual Studio or Visual Basic key mapping emulation, use Control + Alt + G.

Sales Website: Or visit our legacy sales site:

©1995-2021 Prestwood IT Solutions.   [Security & Privacy]