Monday, February 25, 2008

Working With BLOBs in Delphi

"BLOB" is an acronym that stands for Large Binary Object, which is a collection of binary data stored in a data field in a database that supports this functionality.

BLOBs are usually used to hold digitized multimedia content such as images, sound clips and videos. However, they can also be used to hold other types of data, such as executables, zip files, code and documents.

This example will show you how you can use Delphi to store BLOBs in a database and restore them to disk on demand.

Full explanation and source code: How To Use BLOBs in Delphi




For more information about Online Delphi Training:

Krikor Mnatzaganian
Founder & President
Website: http://www.onlinedelphitraining.com/
Phone: +1 (678) 921-0644
Email: info@onlinedelphitraining.com

Wednesday, January 23, 2008

Delphi File Management Routines

Delphi comes with a number of routines, defined in the SysUtils Unit, to help you work with files.

In this example, I will go over some common routines and some less known ones. I will cover how to:
  • Read and change File Date and Time Stamps
  • Access and change the File Attributes (Example: Make a file read-only or hidden)
  • Extract the File Name from a path
  • Extract the Directory from a path
  • Extract and change the File Extension
  • Rename and move files
  • Determine and change the current active directory
  • Delete a file
  • Test for a valid file or directory
  • Search for files (or partial file names) recursively from a given path
  • Determine the Date and Time for:
    • When a file was created
    • When a file was last accessed
    • When a file was last updated
  • Use recursive coding
  • Use while-you-wait animation
To read the full explanation and download the accompanying code, click on:

How To Manage Your Files With Delphi


For more information about Online Delphi Training:
Krikor Mnatzaganian
Founder & President
Website: http://www.onlinedelphitraining.com/
Tel: +1 (678) 921-0644
Email: info@onlinedelphitraining.com