

Oke langsung saja aktifkan project vb Anda kemudian klik kanan di nama project - Add - Data Dynamics ActiveReport 2.0 jika berhasil pada panel project explorer akan ketambahan node baru dengan nama Designers kita akan mengganti nilai dari properties Name dan Caption seseusai setting berikut: Nama = arLapSiswa Caption = Laporan Data Siswa untuk properties yang lain bisa Anda ganti nilainya sesuai kebutuhan. Mendesain report Mendesain report di Active Report sama mudahnya seperti mendesain tampilan di form, tinggal drag komponennya kemudian ganti nilai properties masing-masing komponennya sesuai kebutuhan. Untuk contoh pada tutorial pertama ini kita akan menampilkan data siswa dengan struktur tabel seperti berikut: 1. Jika kita mempunyai format file seperti diatas, maka kita perlu membaca file secara sekuensial per baris serta memisahkan antara nama virus dan Crc32nya. Algoritmanya adalah: – Memilih file yang akan dicek – Membuka file tersebut dalam mode binary – Memproses byte demi byte untuk menghasilkan Checksum – Buka file database – Ambil isi file baris demi baris – Samakan Checksum hasil perhitungan dengan checksum dari file Format file database dapat kita tentukan sendiri, misal: – FluBurung.A=ABCDEFGH – Diary.A=12345678 Dimana FluBurung.A adalah nama virus dan ABCDEFGH dalah Crc32nya.

Second Kode diatas dapat kita buat menjadi sebuah rutin pengecekan file suspect virus dengan antara membandingkan hasil CRC32nya dan database CRC kita sendiri. (Objek CommonDialog dapat ditambahkan dengan memilih Project - COmponent atau Ctrl-T dan memilih Microsoft Common Dialog Control 6.0). First Sekarang kita akan belajar membuat sebuah rutin sederhana untuk: – Memilih file yang akan dicek – Membuka file tersebut dalam mode binary – Memproses byte demi byte untuk menghasilkan Checksum Blog dengan ID 134100 Tidak ada Buka MS-Visual Basic 6.0 anda, lalu buatlah sebuah class module dan Form dengan menambahkan sebuah objek Textbox, CommonDialog dan Command Button. Save - Accept The Add 1] Gather Memvar Memo is the reciprocal operation of Scatter Memvar Memo.Gather takes all 9 of the local memory variables and reloads them into the current record.Ngerti tombol2nya VB tutorialnya begini sob,: 1. It will be less confusing for the user if we can use the same Cancel button for both the Add and Edit functionality we shall do so. Since no record has been added, the read/write pointer has not moved.

Cancel The Addġ] Should the user select the Cancel button during the add procedure, we simply re-scatter the current record and return to the normal mode of the form.

If the user cancels this new insertion, there is no need to add a record that we would have to delete. Allow the user to complete the information for the new recordĢ] Remember to add global variable_AddMode to your main program initialize it to false.ģ] The form should look like the following once the Add button is selected/pushed.ģ] We realize that a record has not been added to the database yet.Scatter a temporary blank copy of the variables.
