Postingan

Menampilkan postingan dari 2009

Batch command for getting current date for file creation

if you wonder how to automate some task like backup that include current date in a batch file then this is a small tips how to do it just add: %date:~-4,4%%date:~-10,2%%date:~-7,2% on the parts of the file that you want to add a date, it utilize the internal command of date, and substring it to get the current date with YYYYMMDD format, depending on your locale format, for the example above i use mm/dd/yyyy you should adjust it to your need refference : http://support.microsoft.com/kb/555314

Ide: Membuat Library dan membuka DLL / so dengan Lazarus, Part 2

Saya ingin melanjutkan tulisan saya tentang Penggunaan Dynamic Link Library di Lazarus, setelah mencoba program yang ada di link post sebelum-nya saya lihat contoh-nya cukup straight forward, dan coba punya coba.. alhasil memang kita bisa load sebuah library lengkap dengan method-nya. setelah baca lanjutan artikel di bawah-nya, biarpun sedikit kurang mudeng, memang harus di akui yang kurang dari lazarus adalah fitur package-nya. tapi ya sabar mungkin ngga sekarang tapi nanti. buat catatan juga.. yang bikin agak mikir sebetul-nya sih ukuran file-nya hasil kompilasi-nya.. besar banget.. tapi kalo mau keukeuh modular and compiled yah.. musti mau.. tetap semangaaaat!!!

software application

In term of application software construction, sometimes the primary goals that i thought is that giving a deliverable, which is an application running with out problem program.. with the application program is standing on some infrastructure such as Operating System, Virtual Machine, and also built upon some language that most popular so that it's continuity support is guaranteed. but recently i crossed my mind, that the main commodity that we should provide is the service to gather information and in unified way so that enable us to easily retrieve in sometime in the future. so.. in that context i can say that the main deliverable is the mechanism and steps to help our client to gather data in unified way.. hm.. i think this is a basic knowledge that thought in MIS Lecture.. but who am i but some who damned to remember again and again.. hehehe like they say, more often you stumbled into something same, the more expert you'll be come.

Ide: Membuat Library dan membuka DLL / so dengan Lazarus

Gambar
Beberapa hari yang lalu ada sebuah ide muncul di kepala ini, bagaimana kalau seandai-nya bisa memecah modul program yang aku buat menjadi beberapa file yang bisa di update atau di buang setiap saat, dengan modul konfigurasi tentu-nya. Maka di mulai lah perjalanan-ku dalam mencari bagaimana cara-nya di lazarus, tentu saja memang solusi-nya yang sekilas keluar di mata adalah BPL, cuma masalah-nya kalau di lazarus tidak bisa compile library dan di load pada saat runtime, hilang 1 opsi, maka setelah itu aku coba cari opsi lain, AHA ! DLL aja tuh.. Dynamic Link Library kalau di windows, .so kalau di linux.. di Mac aku ngga tau.. setelah beberapa saat browsing.. aku menemukan beberapa kendala dalam penggunaan dan pembuatan library di lazarus dan sangat mencolok adalah ngga bisa-nya fungsi ShareMem yang ngga bisa di pakai. tapi memang belum afdol kalau tidak dicoba sendiri. oke.. pertama kita bikin library-nya.. Buka IDE Lazarus Buka New.. Project | Library Setelah itu kita akan di sajikan e...

Password mdb file e-spt

mungkin kalau perlu cari untuk referensi saja.. password untukmdb file aplikasi e-spt adalah 'e_spt_pajak' dan sudah di coba untuk versi 20032009. sebab kebetulan beberapa saat yang lalu sempet di minta untuk hapus 1 record yang ngga bisa di jalankan pakai app e-spt - sendiri, rasa-nya sih gara - gara delete key-nya ngga primary jadi kode kembar bisa masuk.. :D well i don't know how or why.. but still job must be accomplished.. oh ya.. cuma buat referensi saja, ada program sederhana dan gratis buat yang ingin buka mdb file-nya, nama-nya MDB Viewer so.. buat editing aja.. bisa di coba tuh.. refference: http://www.ortax.org/ortax/?mod=forum&page=show&idtopik=577&hlm=2 http://www.alexnolan.net/software/mdb_viewer_plus.htm

How to move a form without clicking on the title bar

Recently i was wondering how can i make a borderless form dragged by using a mouse, since the border is not visible, after a few moment in search, and voila, although it was a tips for a delphi app i tried it on lazarus. the only drawback is that it only applied for windows, i don't know wheter or not i works in lazarus the only code the should be written ReleaseCapture; SendMessage(Form1.Handle, WM_SYSCOMMAND, 61458, 0) ; When the event OnMouseDown fired, and don't forget to include uses windows on the top. and since it uses windows library this feature is not multi platform i am not finished in search how this behaviour can be applied on other platform, may be later i'll do some more research on this feature. But for now i'm still playing around with it