tes
After I have tried to use decimal data type in visual basic 6 … I have found nothing … So I tried to search help in http://msdn.microsoft.com. The result is :
If the client application uses Visual Basic 6.0 and includes the DECIMAL data type, the decimal value in Visual Basic must be defined as a Variant. If the client application uses Visual Basic .NET, the DECIMAL data type is defined directly.
The conclusion is That there is no Decimal data type in Visual Basic 6. The other option for us to cover decimal data type is using Variant data type. And of course, Variant data type will need more memory consumption. Because Variant data type covers all kind of data types, like integer, decimal, string, date, etc. To convert other data type into Decimal, we can use Cdec command. Example : Dim A as Variant, and then we assign A with a decimal value, A = Cdec(“123.45”), will result A = 123.45 (in decimal value).
In windows XP, we can use Double data type to cover decimal value (I don’t know Why ?, but it’s working). But in windows 7, there is a problem if we used Double data type. Because the decimal value in our application will be converted into non-fractional value (example : 0.3333 will be recognized as 0) … Of course, It will be a big problem if we want to calculate 1 / (1/3) … In normal situation, it will make result = 3 … but if 1/3 or 0.3333 is recognized as 0 … the operation will be like 1 / 0 … it will make an error “divided by a zero”.
So … Be carefull in choosing your data type. OK ? … ^^
The International Conference on Distributed Framework & Applications 2010
Posted by: standy | May 21, 2010 | No Comment |The International Conference on
Distributed Framework & Applications 2010
========================================================
DFmA 2010 welcomes computer scientists, engineers, academicians, and practitioners around the world to present, discuss, and exchange ideas and research results related to the design, use, analysis, and applications of Distributed and Parallel Frameworks.
DFmA (Distributed Frameworks & Applications) formerly known as DFMA (Distributed Framework for Multimedia & Applications) is the series of annual Franco – Malaysia Conference on Multimedia that has already initiated in 2005 by the University Franche-Comté and the Universiti Sains Malaysia (USM) to provide a forum for researchers in computer science from both countries and to promote interaction with researchers from other regions as well. DFmA is an international conference born from the collaboration between Network Research Group, School of Computer Sciences, Universiti Sains Malaysia and the Laboratoire d’Informatique de l’Université de Franche-Comté, France. DFmA is technically co-sponsored by IEEE. The first conference was held in Besançon, France in February 2005, and the latest conference (DFmA) was held in Penang on 21-22 October 2008.
Submission deadline is now extended to May 31st, 2010
DFmA 2010 will be held in Yogyakarta, one of the most attractive cities and has been known as the historical center of Indonesia worldwide.
Read More…
Seperti kita ketahui sekarang ini aplikasi untuk keperluan kriptografi Pretty Good Privacy (PGP) telah menjadi aplikasi yg tidak free alias trialware. Dan untuk bisa meng-encrypt ataupun decrypt email yg akan dikirim atau diterima diperlukan adanya “license number” untuk mengaktifkan fitur ini. Lalu apakah kita harus pasrah ? Jawabannya tentulah tidak !!!. Zaman sekarang sudah banyak berkembang aplikasi yg berbasis “Open Source”, salah satunya telah melahirkan GnuPG. GnuPG merupakan aplikasi untuk keperluan kriptografi yg bebas untuk digunakan dan di-distribusikan.
Lalu bagaimanakah cara menginstall-nya ? Walaupun tak semudah PGP, tapi cara instalasi GnuPG masih tergolong mudah.
1. Download aplikasi GnuPG dari ftp://ftp.gnupg.org/gcrypt/binary/gnupg-w32cli-1.4.9.exe
2. Klik ganda file executable hasil download dan akan muncul gambar tampilan berikut.
Lalu klik next untuk melakukan instalasi. Ikuti petunjuk yg ada sampai dengan selesainya.
Analisa Sistem / Perangkat Lunak berbasis Web yang menggunakan Google Maps API
Posted by: standy | April 22, 2010 | No Comment |Perancangan Sistem / Perangkat Lunak
“Perancangan aplikasi web pencari lokasi daerah di Yogyakarta menggunakan Google Maps API”
Dari contoh pada web saya (http://standy-oei.web.ugm.ac.id/) yang menggunakan Google Maps API, maka saya dapat membuat suatu model rancangan dengan menggunakan UML.
1. Dengan Use Case Diagram
Klik pada gambar untuk melihat ukuran sebenarnya (lakukan zoom) ataupun untuk mendownloadnya (klik kanan => save image).
Dari diagram use case tersebut, kita bisa melihat proses – proses apa saja yang dilakukan di dalam sistem.
1. Seorang web user bisa melakukan pencarian peta yang diinginkan, baik dalam mode map, satellite, ataupun hybrid, ke dalam sistem (aplikasi web), kemudian aplikasi web tersebut akan melakukan permintaan kepada google map server berdasarkan apa yang diminta oleh web user.
2. Mengubah isi web terbagi atas 2 kasus, yakni:
– Update isi peta (proses zoom in/out, pemindahan posisi, dll), dilakukan oleh aplikasi web dengan meminta isi map yang akan ditampilkan kepada google map server.
– Mengubah desain web, pada umumnya termasuk menambah konten / isi web, dilakukan oleh web developer.
3. Secara rutin web developer akan melakukan perbaikan bugs yang ditemukan pada web, tetapi pada suatu saat akan terjadi perbaikan tambahan yang tidak dijadwalkan, misalnya sistem (aplikasi web) diserang (contohnya dideface) oleh cracker yang merusak aplikasi web tersebut.