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

Advanced
-Collapse +Expand Delphi To/From
To/FromCODEGuides
-Collapse +Expand Delphi Store
PRESTWOODSTORE

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 Jan 2012 Issue - Delphi Edition

Subscribe!

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.
portal.prestwood.com
  January 2012 - Delphi Edition (762 of 4,803 subscribers receive this group's content.) Year 14 Issue 1  
Your full service technology partner!


Expert guidance from working professionals!
Help Wanted! topic:
Contribute To The Prestwood Community
by Mike Prestwood
We are always looking for talented developers to participate in our message boards, post articles, etc.

IT Water-Cooler for Power-Users topic:
Top 10 Things That Annoy Programmers
by Wes Peterson
http://www.kevinwilliampang.com/2008/08/28/top-10-things-that-annoy-programmers/





 Delphi Group Top 
Visit Group | My Group Settings
Language Details topic (classic post):
Using ShowMessage
by Mike Prestwood
ShowMessage displays a simple dialog box with the text you provide it. It is one of the most used ways of displaying information.

OOP topic (classic post):
Delphi Overriding (virtual, override)
by Mike Prestwood

In Delphi, you specify a virtual method with the virtual keyword in a parent class and replace it in a descendant class using the override keyword. Call Inherited in the descendant method to execute the code in the parent method.


 Monthly Delphi Lesson
OOP Topic:
Code Snippet of the Month

In Delphi programming language (Object Pascal), all classes ultimately inherit from the base class TObject.

//Specify both namespace and class:
TCyborg = class(System.TObject)

end;
  
//Use shortcut alias:
TCyborg = class(TObject)

end;
  
//None, default is System.TObject
TCyborg = class

end;
Education (Audio/Video) Topic:
Resource Link of the Month: Video & Audio: CDN Delphi TV

Lots here! {#geek} Delphi TV is part of CodeGear's developer network. Contains both audios and videos.

BDE Topic:
Question:

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?


Answer:
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.
Language Basics Topic:
Tip of the Month

Format the IF/Endif for easy reading. I have found this to be easy to read and follow:

if (         (something = somethingelse)
      and (x = y)
      and (z = a)
   ) then
begin
..
end;

To indent the structure and line up the parenthesis makes it, I feel, much easier to read.



Sales Website: www.prestwood.com Or visit our legacy sales site: 
legacy.prestwood.com


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