Free Web Hosting Untitled Document

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

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

How to find text on next grid column

This example is how I look for nohp in a pulse transaction on the server. using tedit to find data on the next grid.
In the event of a change in tedit, the text will be searched to the next column of the grid. Column Nohp located at index 6. by looping from the first line to last line , it will seek the edit value in the column specified. If there is data that is similar or the text containing the data will be displayed in nextgrid

Continue Reading…

Print Friendly

How to load data to next grid

This is example fill next grid with data using addoquery and microsoft Access database.

The first time you must add columns to  nextgrid by double click the component, and then choose type column of  next grid wicth do you want :

  • Tnxtextcolunn
  • Tnxnumbercolumn
  • TnxImagecolumn
  • ect

Continue Reading…

Print Friendly

Next Grid Powerfull free for delphi 7

Next Grid is Grid component from Berg Software, we can acces cells like field, such as :;

 

begin
 edit1.text:=gridtrx.Cell[6, i].AsString;
 edit2.text:=inttostr(gridtrx.Cell[6, i].Asinteger);
end;

 

NextGrid is a powerful Delphi/CBuilder Grid. It is very easy to use it in design-time (with using intuitive Columns Editor) and in run-time.

NextGrid have much more features than standard Grid, attractive look (Windows Vista & XP themes support), it is extremely fast (quick sorting, data manipulation, drawing…)
next grid

Continue Reading…

Print Friendly

Free Report Delphi

What is FreeReport?

FreeReport is product from Fastreport.inc, this is free version

free report

FreeReport 2.3 consists of a report engine, a designer, and a previewer. Its capabilities are comparable to QuickReport3 and ReportBuilder 3.52.
FreeReport 2.3 works with Delphi 2/3/4/5/6/7/2005 and 2006 and C++ Builder 1/3/4/2005/2006.
Freeware; royalty-free full source code.
What’s new in FreeReport 2.34?

Continue Reading…

Print Friendly

How to know folder and file program

we can take advantage of the position of the folder of the application that we are making. for example calling the help file, call the report file, database access and so forth by utilizing  application.exename

  • create new application
  • add 3 edit to form
  • add button to form
  • double click button1
  • write this code
procedure TForm1.Button1Click(Sender: TObject);
 begin
 caption:=application.exename;
 edit1.Text:=application.exename;
 edit2.Text:=extractfilepath(application.exename);
 edit3.Text:=extractfilename(application.exename);
 end;

 

delphionderdils

 

source code

Continue Reading…

Print Friendly