Ads

Ads

Translate

Wednesday, 2 January 2013

TmgFileListator - The files finder

TmgFileListator is a non-visual component for your beloved Delphi. Simply place TmgFileListator onto your application form and your program will be able to perform multiple simulataneous multithreading searches over the computer of your end-user.
You'll have to set only few parameters:
  • Set optionally a Title for your search
  • Set a mask: this can be an extension ('*.txt'), an extensions group('*.txt;*.doc;*.pdf'), a filename ('Borland Delphi.*') or even a partial file name ('and Del*.*')
  • Set a beginning Path: this is the folder within to search
  • Set RecursiveSearch parameter: if True, all subfolders of Path will be scanned during search
  • Set OutputDevice (actually only TTreeView is supported): here will be displayed the searh results (you can set the same OutputDevice for many searches or set specific OutputDevice for each search)
  • Set ProgressDevice (actually only TLabel is supported) to display file names scanned during search operations
  • Optionally you can set an Animation that is a TAnimate component to inform your users that a search is actually running
Obviously, you can make this settings indifferently at design-time or at run-time. Then, you will be able to use search results as you wish, for nstance to make a backup copy of these files (tell you something this?)
Compatible with Delphi 6, Delphi 7, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, XE and XE2 (not tested XE3)

2012-12-16: fixed a bug in recursive folder search; fixed a bug in OnCompletedSearchs event.

Download

TmgWebUpdater - Easily update your applications

TmgWebUpdater is a non-visual component for our beloved Delphi. Simply place TmgWebUpdater onto your main form and your program will be able to automatically check for updates, download the new installer and run it when download has finished.
TmgWebUpdater requires Indy libraries installed and to use it you have to enable Delphi versioning system for project you want to be able to auto-update: Project->Options->Version Info: be sure 'Include version information in project' checkbox is checked.
TmgWebUpdater makes easy as never before implementing automatic web update feature within your application.
In order to make it running you have to:
  • Place TmgWebUpdater on the main form of your app
  • upload to web server the script (by default its name is checkUpdates.php or checkUpdates.asp and it is created in the main application folder; you can rename it, modify it or leave it as it is: the only thing you don't have to change in this file is the version number which is created automatically and formatted in the right way
  • create the program which will be downloaded and which will install updates: the best thing is to use an installer which install new versions of files
  • upload this file to your web server
  • Set DownloadUrl and CheckUrl properties with your data (names can be changed as you wish):
    • CheckUrl: http://www.yourserver.com/yourfolderupdates/checkUpdates.php
    • DownloadUrl: http://www.yourserver.com/yourfolderupdates/updateexe.upd
  • Set property Active to true
To create your script you can use the CreateScript utility included in the archive and then upload to your server.
That's all: everytime your application will start, it will check if there are updates available and i will download them.
Tested on Delphi 6 up to Delphi 2010 (presumably working with Delphi XE and Delphi XE2 also).

 Download

Delphi Auto Backup

Delphi Auto Backup main screen Delphi Auto Backup main screen
This is an auto backup and restore program with time schedule. I developed this program in year 2009 for my office.
Software & Components for developing
1. Delphi 7
2. EhLib
3. Zip Master
4. Cool Tray Icon
Download
How to install
1 Download the compiled executable files & save it to any folder.
2 Run BackupRestore

  
How to use
1. Run setup, click Log On button without any password.
2. If you want to change Log On password, just key in New Password& Confirm Password then click on Save Password
3. Profile can be any name, it is for display purposes.
4. Backup from Folder/File is the source folder or source filename
5. Backup to Folder is the destination folder
6. Backup Filename is the Zip file name, all files & folder will backup to this filename
7. Prefix add a name in front of Backup Filename
8. Password is use to protect the backuped zip file
9. Use Date will overwrite the Backup Filename, it use system date as the filename
10. Use Time will overwrite the Backup Filename, it use system time as the filename
11. Enable to determine whether enable or disable the Profile
12. Schedule Time is the time to start backup
13. Schedule Name can be any name
Delphi Auto Backup Setup ScreenDelphi Auto Backup Setup Screen
As shown in figure above is the setup screen for Auto Backup. Two are two backup job, only Backup1 will execute since Backup2 is disabled.

The backup job will start at 13.00 & 17.30 every day.
Running the Auto Backup program will not display the main window on the screen, it sit at the task bar (next to the clock) as a diskette icon. To open the main window, right click the diskette icon and select Show Window.
From the Main Window, you can running backup & restore immediately. Highlight a backup job from profile & click onStart Backup to start backup job immediately. To backup all jobs, just click on Start Multiple Backup button.
To restore backup-ed file, click on Restore tab, make sure Backup From & Backup To is correctly enter. Click the... button will popup dialog to change the Backup From & Backup To.
In order to inform the client computers that the backup job will be start, the Client.exe is use to install in other computers. Whenever a backup job is trigger (start or complete), it will alert the client. See 
Some file information
  • Setup.exe is use to set the settings for Auto Backup.
  • BackupRestore.exe is the main Auto Backup program.
  • Setting.Dat is the configuration file for BackupRestore.exe, it is the Ms Access database. 
  • Client.exe is the program install in client computers
  • Setting.txt is the setting file for Client.exe.

Cobian Backup

Free Source Code Delphi Application

Cobian Backup - Open Source Delphi Application
Cobian Backup - Open Source Delphi Application

Cobian Backup adalah sebuah program multi-threaded untuk penjadwalan dan backup file-file dan direktorimu dari lokasi sesungguhnya ke lokasi lainnya atau drive lain dalam komputer yang sama atau komputer lain dalam satu jaringan. FTP backup selalu support dalam direksi  (download and upload).

Cobian Backup terdiri dari dua version yang berbeda : application dan service. The program uses very few resources and can be running on the background on your system, checking your backup schedule and executing your backups when necessary. Cobian Backup is not an usual backup application: it only copies your files and folders in original or compressed mode to other destination, creating a security copy as a result. So Cobian Backup can be better described as a "Scheduler for security copies".

Key Features

  • Remote backup
  • Automatically remove old backups
  • Backup to multiple destinations
  • Zip64 for zip files larger than 2 GB
  • Backup FROM and TO a FTP server
  • Strong encryption: Supported methods are Blowfish (128 bit), Rijndael (128 bit) and DES (64 bit)

Download Cobian Backup


Wednesday, 26 December 2012

Program Permainan Ular Tangga dengan Delphi 7

Ini lah game ular tangga yang dibuat oleh lunardz dan teman2 dalam rangka menyelesaikan tugas kuliah.... dengan animasi sederhana,,,,,, dan dengan koneksi database pada highscore saja....




DOWNLOAD

Download Source

Tuesday, 25 December 2012

Kumpulan Materi Delphi UTS

Kumpulan Materi UTS Delphi 7.0 2011

OPERASI STRING
1. Menggabungkan String

menggabungkan string adalah proses merangkai dua karakter atau lebih menjadi satu
kalimat atau kata yang baru. Operator string yang dikenal dalam Bahasa Delphi adalah operator
dengan symbol '+'.

2. Menghapus String

Prosedur standart ini digunakan untuk menghapus atau mengurangi sebagian atau
seluruh karakter terhadap string atau teks.

B.U : Delete(Teks, Index, Jumlah);

Delete adalah prosedur standart yang digunakan untuk menghapus teks.
Teks merupakan kalimat atau string yang akan dihapus.
Index menunjukan posisi awal yang akan dihapus.
Jumlah menunjukan jumlah karakter yang akan dihapus.

3. Mencari Panjang teks (length)

fungsi ini digunakan untuk menghitung panjang atau jumlah karakter dari suatu teks
atau kalimat. Dalam menghitung jumlah karakter dalam suatu teks spasi akan dibaca sebagai
satu karakter. Sebagai catatan hasil yang diperoleh dari perhitungan adalah bilangan bulat
positif.

B.U : inttostr(Length(Teks));

4. Mencari Karakter Pada Teks (POS)
Fungsi ini digunakan untuk mencari letak atau posisi dari suatu karakter dari suatu nilai
string. Nilai yang dihasilkan adalah berupa byte. Maka hasil yang akan ditampilkan harus
dikonversi dari integer ke string.

B.U : Pos(kar, karakter);

Pos adalah prosedur standart yang digunakan untuk mencari teks.
Kar merupakan huruf yang akan dicari.
Karakter menunjukan kalimat atau string yang akan dicari.

5. Mengkopi String (Copy)

Fungsi ini digunakan untuk mencetak ulang string atau karakter sebanyak huruf yang
dipilih dengan posisi karakter awal yang sudah ditentukan.

B.U : Copy(teks, index, jumlah);

Penulisan awal diawali dengan perintah copy, dengan diikuti teks yang ditunjukan teks. Awal
pengcopian ditunjukan dengan index, dan jumlah karakter yang akan di tulis ulang ditunjukan
deengan perintah jumlah.

6. Konversi Karakter ke Ascii (Chr)

Fungsi ini digunakan untuk mengkonversi Kode Acsii menjadi nilai karakter atau huruf.

B.U : Chr (karakter)

DOWNLOAD PDF

Monday, 24 December 2012

Kumpulan Materi Delphi UAS





Pengertian Database
Database adalah kumpulan beberapa data yang
kode-kode tertentu sehingga membentuk sebuah sistem.

Character

Character sebagai satuan data terkecil dikumpulkan menjadi field (kolom), kumpulan field
membentuk sebuah record (baris), beberapa record disimpan dalam file (tabel), dan kumpulan file
akan membentuk sebuah database.

Database
Tabel
Record
Field
Character

Data Base Dekstop adalah merupakan sebuah system aplikasi database yang sudah disertakan pada
saat penginstalan Delphi.

Pengertian Database Deskstop
Komponen Data Base Dekstop yang merupakan bawaan Delphi meliputi = Paradox, dBse,
MsSQL, Oracle, Maccess, Excel dan Lain - lain.

Langkah - Langkah pembuatan Database Dekstop
a. Melalui Icon Start
Klik start | Pilih programs | Pilih Borland Delphi | Klik Data Base Dekstop
b. Melalui IDE Delphi
Pilih dan klik Menu Tools | pilih dan klik Database Dekstop

Setelah DBD (Database Desktop) diaktifkan, langkah berikut untuk membuat tabel:
a. Klik Menu File | New | table | pilih dan klik pilihan table pada table type (mis = Paradox7) | Klik
Ok, Tampil jendela Create Paradox 7 Table sbb:

Field

Record

File

: kumpulan dari beberapa tabel
: kumpulan dari beberapa record
: isian data yang dimiliki oleh field
: atribut yang dimiliki oleh suatu tabel
: hanya terdiri dari satu angka atau huruf

Field Name = digunakan untuk menuliskan nama field

Syarat Penulisan Nama Field
> Unik dan mudah diingat
> Diawali dengan Karakter
> Tidak diperbolehkan penulisan dengan tanda baca ( ! , . ? / + & % # © )
> Untuk field dengan dua kata atau lebih dihubungkan dengan Undecsare ( _ )

Type = Digunakan untuk menentukan tipe data pada Field

Type Data yang Dikenal Pada Paradox adalah
> Alpha
= tipe data yang menampung semua karakter baik berupa huruf, angka maupun
tanda baca.
> Number
= tipe data yang menampung angka (numeric), jangkauannya mempunyai range
untuk bilangan negative dan bilangan positif, (-10307 sampai dengan 10308).
Dengan digit maksimal adalah 15 digit.
> Money
= Tipe data yang hanya untuk angka. Sama seperti dengan Tipe Data Number hanya
berbeda pada jangkauan. Pada tipe data number tidak mengenal dedsimal, tipe data
money mengenal adanya decimal dan format mata uang.
> Short
= tipe data angka yang hanya mempunyai jangkauan -32,767 to 32,767
> Long Integer = Sama seperti tipe data integer dengan jangkauan lebih luas (-2147483648 to
2147483647)
> Date
= Tipe Data untuk tanggal (1 Januari 9999 BC to 31 Desember 9999 AD).
> Time
= Tipe Data yang digunakan untuk setup waktu.
> Memo
= Tipe Data untuk semua unit karakter dengan jangkauan 1 sampai dengan 240
karakter.
> Graphic
= Tipe Data untuk gambar (.BMP, .PCX, .TIF, .GIF, and .EPS file formats).
> Logical
= Tipe data yang hanya mengenal benar atau salah (Yes or No).
Size = Digunakan untuk menentukan size terhadapa suatu field

Catatan : Size yang kompatibel untuk diganti hanya tipe data Alpha dan memo.

Key = Digunakan untuk menentukan kunci utama (primary key)

Catatan = untuk memberikan primary key cukup ditekan space bar atau double klik pada field yang
akan dibuat sebagai key (ditandai dengan *)

Membuat Index (secondary Index)
Index digunakan sebagai kunci untuk pencarian data ataupun digunakan untuk mengurutan data pada
tabel. Didalam satu tabel diperkenankan menggunakan lebih dari satu index secondary.

Langkahnya
> Aktifkan tabel barang
> Dari DBD pilih table | restructure atau icon Restructure
> Klik combo table properties dan pilih Secondary Index 


DOWNLOAD PDF

Best Post This Year

Install Fortesreport community Delphi 7 dan RX Berlin

Download  Pertama2 kita harus punya file installernya terlebih dahulu, download  https://github.com/fortesinformatica/fortesrepo...

Total Pageviews

© 2014 Fajar Priyadi. WP themonic converted by Bloggertheme9. Published By Gooyaabi Templates | Powered By Blogger
TOP