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 Feb 2016 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
  February 2016 - Delphi Edition (762 of 4,803 subscribers receive this group's content.) Year 18 Issue 2  
Your full service technology partner!


Expert guidance from working professionals!
Company Info topic:
Prestwood IT Social Networking Strategy
by Mike Prestwood

Social networking is a bit confusing! Emailing and calling are still the standards. Is faxing still ok? What about Facebook? Do I friend someone or become a fan of their fan page? Wait, what happened to fan pages? Are they now Facebook pages? What about Facebook groups? What about LinkedIn, YouTube, Twitter, MySpace, and others?

The following articles are posted to the PrestwoodBoards knowledge base:

The Prestwood Strategy: Although we still prefer phone calls and email, we do use social media to reach out. Our primary form of social networking is not with our clients, but with fellow IT professionals at PrestwoodBoards.com. Use the link above to learn more including how to interact with Prestwood IT, our other websites and groups, and our staff including Mike Prestwood.

For more information see...


Coding Services Info topic:
Stabalize Paradox System Audit
by Mike Prestwood

Help stabilize Paradox System with our proprietary procedure including oplocks, BDE settings, software updates (latest appropriate BDE/Paradox), and stabilize computers too. Also includes review of deployment architecture (appropriateness).


IT Water-Cooler for Power-Users topic:
Now It's Easy To Get End-User Problem Reports
by Wes Peterson

In the past it's been a pain to get end-users to give developers an accurate and complete list of the steps they took to get to a problem - especially if screen-shots are desirable.

Now Microsoft has provided a tool that makes the entire process ridiculously easy.






 Delphi Group Top 
Visit Group | My Group Settings
Using Data topic (classic post):
Delphi Instance Counter
by Mike Prestwood
Implement static member data in Delphi with variables declared in the implementation section (unit scope). Increment and decrement variable in constructor and destructor. Then use a class function to surface the variable's value publicly.

OOP topic (classic post):
A 10 Minute Your First Delphi Class Quick Start
by Mike Prestwood

Beginners example of creating and using a class. Early versions of Delphi use the standard OO private, protected, and public visibility specifiers plus add published for RTTI info. Later versions of Delphi add strict private and strict protected for a true OO implementation.


 Monthly Delphi Lesson
OOP Topic:
Code Snippet of the Month

Delphi for Win32 supports abstract class members using the abstract keyword. You can even instantiate instances of a class that contains abstract members. Then you override each abstract member in a descendant class with Override. Delphi does not support setting an entire class as abstract. You can create an abstract class (a class with one or more abstract methods), but there is no way to tell the compiler to not allow the instantiation of the abstract class. Delphi does not support abstract member properties directly. To implement an abstract properity, make use of abstract methods. That is, you can read a GetPropertyX abstract function and write to a SetPropertyX abstract procedure. In effect, creating  an abstract property.

TCyborg = class(TObject)

public
  procedure Speak(pMessage: String); virtual; abstract;
  procedure Walk; virtual; abstract;
end;
 
TSeries600 = class(TCyborg)

public
  procedure Speak(pMessage: String); override;
  procedure Walk; override;
end;
Delphi for Win32 Topic:
Resource Link of the Month: GExperts

I recommend GExperts for one simple reason: I'm addicted; I can't live without it.

GExperts is a collection of incredibly useful plug-ins for the Delphi IDE. There are too many to list, so I'll mention just a couple of my favorites:

Replace Components: Select one or more controls on a form, choose GExperts "Replace Components," and you're presented a dialog that allows you to select a replacement component from a very smart drop-down. As GExperts replaces the selected component(s), it also preseves as many properties as possible.

Component to Code: Select a component on one of your forms or data modules, select GExperts "Component to code," and all the code necessary to create that component in explicit code is magically placed on the clipboard.

MessageDlg builder: While in the Delphi code editor, simply hit Crl-D. GExperts pops up a dialog in which you can type in text to be displayed, choose which buttons to include, choose an icon for your MessageDlg, and even test it. Clicking OK inserts the appropriate MessageDlg call right into your code.

Oh. Did I mention that GExperts is free? Don't start Delphi again without first downloading and installing GExperts. You'll be hooked, too.

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.


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


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