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

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

   ► KB ►► ProgrammingDelphi for W...   Print This    All Groups  

Pascal and Delphi Coding Latest KB Comments

Ordered newest to oldest.

To view comments to your KB Articles, go to your My Knowledge Base page. To view user contributions to your blogs, go to your My Blog page.

Showing first 10. Sign in to see more.

Read +Add Comment
does not work don´t show anything --- daniel
Posted 14 months ago
Regarding...
GETTING A LIST OF PC MAC ADDRESSES
Found a cryptic version of this code on http://www.delphifaq.com/faq/delphi/network/f702.shtml by narayana and re-arranged and adapted it to produce a non-duplicated list of MAC addresses in a re-usable code snippet. I show you how to include this unit in your project and then how to call it to get a list of the MAC addresses. Most importantly, it does not use NetBios and I have tested it on Win7 32- and 64-bit. ,
Read +Add Comment
The "correct" way is to use BeginUpdate / EndUpdate regardless of the Sorted flag, even when adding multiple lines to a memo, eg. oStrings.BeginUpdate; try   for nLoop:=0 to 10000 do     oStrings.Add(IntToStr(nLoop)); finally   oStrings.EndUpdate; end; --- AzzaAzza69
Posted 14 months ago
Regarding...
TStringList - Maximizing Performance
Before adding many new entries to a TStringList, set its Sorted property to false. Add all your entries. Finally, set the Sorted property back to True (if desired). Sorting is expensive, in terms of macnine cycles. By leaving the Sorted property set to True, you force the TStingList to re-sort itself after each entry. This can significantly slow things down. This applies to TStrings, as well, and all components that have a TStrings property, like TListBox, etc.
Read +Add Comment
THanks for providing such a useful informations. --- Newp
Posted 16 months ago
Regarding...
Connection String Builder Component for Delphi
In its IDE, Delphi makes it easy for us to generate correct connection strings for database connections that require them. Unfortunately, Delphi doesnt offer the same convenience at run-time when our customers need it most! This article offers a Prestwood exclusive, TConnectionStringBuilder, a non-visual component you can use in your applications to let your users build a connection string at program startup. You can then store that connection string, for future use, in an INI file or registry key.
Read +Add Comment
Hi Mike, Can you please explain how to use DYNAMIC abstract methods. --- raj
Posted 20 months ago
Regarding...
Delphi Abstraction (abstract, override)
{Too Long!}
Read +Add Comment
hello world --- alex
Posted 24 months ago
Regarding...
Delphi: Encryption of data fields
This article discusses the reasons and methods for encrypting data fields in Delphi.
Read +Add Comment
Thank you for doing these sample questions! Question#8 could be clarified a bit more though to specify that the different case variables cannot be used within the same scope (thus the answer is False). At first I thought the question was asking if either case could be used in Delphi (I was thinking different scopes), which would lead to a True answer. --- Janice
Posted 28 months ago
Regarding...
Delphi Case Sensitivity (No)

Languages Focus: Case Sensitivity

Case sensitiviy in this case is referring to commands and variable names. For example, are "printf" and "PrintF" equivalent? Are fullname and FullName equivalent? When you create commands, operations, methods, or variables should you worry about case?

Delphi Case Sensitivity

Object Pascal is generally not case sensitive.
Read +Add Comment
It works! Thank you so much!! --- alex
Posted 32 months ago
Regarding...
Extracting Plain Text From HTML
HTML is great. Sometimes, though, we need to get at just the embedded plain text.
Read +Add Comment
I must to thank you so much to spend your time writing this very usefull article. Thank you! Thank you! Thank you! --- Jos´┐Ż from Brasil
Posted 32 months ago
Regarding...
Large Fonts and Windows Controls
This topic discusses the issues surrounding Delphi forms running on a desktop with large fonts enabled.
Read +Add Comment
THanks very mucH for tHe examples --- DB
Posted 33 months ago
Regarding...
Delphi Overriding (virtual, override)

General Info: Method Overriding

Where you define or implement a virtual method in a parent class and then replace it in a descendant class. When you decide to declare a method as virtual, you are giving permission to derived classes to extend and override the method with their own implementation. You can have the extended method call the parent method's code too. In most OO languages you can also choose to hide a parent method. When you introduce a new implementation of the same named method with the same signature without overriding, you are hiding the parent method.

Delphi Overriding

In Delphi, you specify a virtual method with the virtual keyword in a parent class and extend (or replace) it in a descendant class using the override keyword. Call Inherited in the descendant method to execute the code in the parent method.
Read +Add Comment
Whenever i set Active:True of BDE TTable I always endup getting error "Data Structure Corruption" please help me out --- ngbyt3
Posted 35 months ago
Regarding...
Using BDE TTables to read or write text file records
How to read or write data from comma-delimeted or fixed length record text files in Borland Delphi.
-
   Contact Us!
 
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675

email: info@prestwood.com


Go ahead!   Use Us! Call: 916-726-5675 


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