Free Web Hosting Untitled Document

open source masterhelp,macro, vba, word, cdma, component, delphi, excel

download component tpabbrevia_3_04.zip

Data compression is generally achieved by studying the data and looking for redundant
patterns and probabilities. This is a basic concern of information theory, a branch of
mathematics that was founded by Claude Shannon at Bell Labs. Information theory can be
used to determine the entropy, or information content, of a message. The entropy of a
message describes the minimum amount of space that must be used to fully describe the
message. In general, if the information content of a message is smaller than the existing
representation of the message, the message is compressible.

Continue Reading…

Print Friendly

Abbrevia Make A Zip file from delphi

Abbrevia is a set of components that allows you to add file archiving and data compression
to your applications. Using Abbrevia, your application can organize data (by grouping files
into an archive) and save disk space (by compressing the data).
A file archive is a collection of related files that are maintained as a single unit. Common
archive procedures include browsing, adding, extracting, and deleting files from the archive.
Data compression is a process that manipulates a collection of data and produces a
representation of that data in less space. There are two types of compression: lossless
compression and lossy compression. Data compressed using a lossless compression
technique can be completely recovered with 100% accuracy. Important examples of lossless
compression include the compression used in backup and restore tools, disk compression
tools such as Stacker, the Microsoft CAB format, and the PKZIP tools developed by
PKWare, Inc. Lossy compression techniques allow for some loss of accuracy. Lossy
compression is often used for compressing graphic, voice, or video data. JPEG is an example
of a lossy compression technique.

Continue Reading…

Print Friendly

Get Manufacturer identification of modem

To get Manufacturer identification of modem use  AT +CGMI
Description:
This command gives the manufacturer identification.
Syntax:
Command syntax:AT+CGMI

Continue Reading…

Print Friendly

Detect Sim Inserted or removal..?

SIM Insertion or SIM Removal
SIM card Insertion and Removal procedures are supported. There are software functions relying
on positive reading of the hardware SIM detect pin. This pin state (open/closed) is permanently
monitored.
When the SIM detect pin indicates that a card is present in the SIM connector, the product tries
to set up a logical SIM session. The logical SIM session will be set up or not depending on
whether the detected card is a SIM Card or not. The AT+CPIN? command delivers the following
responses:

Continue Reading…

Print Friendly

AT Command Modem

Command line
Commands always start with AT (which means ATtention) and finish with a <CR> character.
Information responses and result codes
Responses start and end with <CR><LF>, except for the ATV0 DCE response format) and the
ATQ1 (result code suppression) commands.

  • If command syntax is incorrect, an ERROR string is returned.
  • If command syntax is correct but with some incorrect parameters, the +CME ERROR:

Continue Reading…

Print Friendly

How to call window form with animation

This example is how to call another window that mean is show window with an animation. we use two form to demontration this windows api function. this funtion is derived from  user32 library .

syntax: function AnimateWindow(hWnd: HWND; dwTime: DWORD; dwFlags: DWORD): BOOL; stdcall;

3 parameters:

  • hWnd is windows handle
  • dwTime is how long the process is running
  • dwFlags is model of animate

delphionderdils

Ok next …

Continue Reading…

Print Friendly

How to Open yahoo mail with delphi

Delphi is multi purposes programming, sometime I use it to open internet banking such as KLIKBCA, Bank Mandiri and Bank BNI. We can open website from delphi, by use component TwebBrowser. This example I use delphi 7

delphionderdils

OK.. next we go to the source

Continue Reading…

Print Friendly

how to change font color in message box

As we know that delphi has many message box(s), like showmessage, messagedlg ect. By defult we get font message in black color with style regular.  All style message are in dialogs unit. so if we want to enhance we have to change this unit as we want.

for example like this picture :
delphionderdils
next…on

Continue Reading…

Print Friendly

How to create MySQL Database runtime in delphi..?

Generally we always create MySQl database using tool like heidisql, mysql yog, phpadmind and so on. But in this tutorial I will show how to create database and table using delphi by runtime. Many ways to create  MySQL  database with runtime for example :

  • Import sql text by shellexecute to call mysql.exe or call batch file
  • Using Tzconnection
  • Using ZSQLProcessor
  • Using TZQuery
  • or may be using ado component witch connected with ODBC

In this section I will give example how to create MySQL database using Tzconnection

Next… on

Continue Reading…

Print Friendly

Make a Connection to MySQL using Tzconnection

ZEOS is one component package to connect delphi with mysql database. to be able to interact with MySQL database ZEOS requires a library file that is libmysql.dll, the file can be obtained at the time we install heidisql. File position is located in C: \ Program Files \ HeidiSQL \libmysql.dll
we can download heidisql www.heidisql.com site.
ok.. next..

Continue Reading…

Print Friendly