Kalo bisa ribet ngapain cari yang mudah

Label

cerita (8) film (2) friend (3) hack (1) isu (1) review access point (1) tips (27) tugas kuliah (2) tutorial (2)

Kamis, 08 April 2010

Belajar VB bag,1


Oke kita mulai membuat program struk belanja:

Ini print screen nya:

Urutan proses:

  1. Pertama Form Dipanggil,Tombol Hitung,Bersih,Keluar tidak Aktif
  2. Kursor Terfokus Pada Kode saat program dijalankan
  3. Saat Mengisi Harga Satuan,tombol hitung aktif,jika ditekan maka hasil perhitungan
    akan muncul pada label bayar ( Bayar = Jumlah Beli * Harga Satuan )
  4. Saat Itu Tombol Bersihkan,Keluar bisa diakses
  5. Jika Bayar >=500000, maka diskon 10 %
    Jika Bayar>=250000, maka diskon 5 %
    Jika Bayar>=100000, maka diskon 2 %
  6. Total Bayar = Bayar - Diskon
  7. Pada Saat Pengisian Cash Uang Kembali Akan Muncul Secara Otomatis
    Uang Kembali = Cash - Total Bayar

Buatlah component-component dengan properties sebagai berikut:

  • Form

Name : Form1

Caption : disesuaikan

  • Label

Name : Label1

Caption : STRUK BELANJA

Name : Label2

Caption : Kode Barang

Name : Label3

Caption : Nama Barang

Name : Label4

Caption : Jumlah

Name : Label5

Caption : Harga Satuan

Name : Label6

Caption : Bayar

Name : Label7

Caption : Diskon

Name : Label8

Caption : Total Bayar

Name : Label9

Caption : Cash

Name : Label10

Caption : Uang Kembali

Name : Label11

Caption : dikosongkan

Name : Label12

Caption : %

  • TextBox

Name :Text1

Text : dikosongkan

Name : Text2

Text : dikosongkan

Name : Text3

Text : dikosongkan

Name : Text4

Text : dikosongkan

Name : Text5

Text : dikosongkan

Name : Text6

Text : dikosongkan

Name : Text7

Text : dikosongkan

Name : Text8

Text : dikosongkan
  • CommandButton

Name : Command1

Caption : &Hitung

Name : Command2

Caption : &Bersihkan

Name :Command3

Caption : &Keluar

Listing Programnya:(tinggal di copy paste kan ke editor code)


[general]

Dim bayar As Double

[Command1]


Private Sub Command1_Click()
bayar = Text3.Text * Text4.Text
Label11 = bayar
Command2.Enabled = True
Command3.Enabled = True

If (bayar >= 500000) Then
Text5.Text = 10
ElseIf (bayar >= 250000) Then
Text5.Text = 5
ElseIf (bayar >= 100000) Then
Text5.Text = 2
Else
Text5.Text = "0"
End If

Text6.Text = bayar - (bayar * Text5.Text / 100)
End Sub

[Command2]


Private Sub Command2_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Label11.Caption = ""

Text1.SetFocus

Command1.Enabled = False
Command2.Enabled = False
Command3.Enabled = False
End Sub

[Command3]

Private Sub Command3_Click()
Unload Me
End Sub

Private Sub Form_Load()

Command1.Enabled = False
Command2.Enabled = False
Command3.Enabled = False

End Sub


[Text4]


Private Sub Text4_Click()
Command1.Enabled = True
End Sub

[Text7]


Private Sub Text7_Change()

If Text7.Text <> "" Then
Text8.Text = Text7.Text - Text6.Text
Else
Text8.Text = ""
End If

End Sub

[Text3]

Private Sub Text3_KeyPress(KeyAscii As Integer)
Select Case KeyAscii
Case 48 To 57
Case Else
KeyAscii = 0
MsgBox ("Kesalahan: Hanya untuk angka")
End Select
End Sub

[Text4]

Private Sub Text4_KeyPress(KeyAscii As Integer)
Select Case KeyAscii
Case 48 To 57
Case Else
KeyAscii = 0
MsgBox ("Kesalahan: Hanya untuk angka")
End Select
End Sub

[Text7]

Private Sub Text7_KeyPress(KeyAscii As Integer)
Select Case KeyAscii
Case 48 To 57
Case Else
KeyAscii = 0
MsgBox ("Kesalahan: Hanya untuk angka")
End Select
End Sub

Cara Kerja:

  • Masukan kode dan nama barang secara manual
  • Masukan jumlah dan harga satuan
  • Kemudain klik hitung
  • Setelah itu masukan jumlah cash, nanti uang kembali akan secara otomatis menghitung
  • Selamat mencoba

Rabu, 07 April 2010

EnGenius EMP8603 VS Ubiquity XR5


VS

Comparison of modules Ubiquiti XR5 and Senao Engenius EMP-8603


Ubiquiti XR5 miniPCI module is running in the 5GHz band, 802.11a compliant.
Card due to the high stability and high quality connections is very popular among successful wireless Internet providers. Card has a significant effect of up to 28dBm, which makes it the most is used for efficient and reliable point to point bridges. Engenius Senao's response to the XR5 is the EMP-8603 module, which in the 5GHz band is characterized by lower power 1dBm.

Devices have been tested:

  • Ubiquiti XR5 Ubiquiti XR5
  • EnGenius Senao EMP-8603 Senao EnGenius EMP-8603
Additional equipment participating in the test

  • Omnidirectional antenna 10dBi 5GHz Tsunami
  • MikroTik RouterBOARD RB433 (2 pieces)
  • Wistron CM9 miniPCI module (2 pcs)
  • MRC400 Draka Cable (1m) equipped with connectors Andrew Nm (2 pieces)
  • Power Supply 12VDC 1A (2 pcs)
  • HP Pavilion Notebook
  • Asus Eee PC Netbook
Short characteristics of the modules


XR5 is designed only to work in the 5GHz band. Less flexibility of this solution is compensated by a higher durability cards (cards are much less jednopasmowe emergency). In addition, card is protected against overvoltage to 16kV. Behind XR5 is a powerful radiator, through which the card is not overheating constantly working at full power. Produkt Ubiquiti wyposażony jest w jeden konektor MMCX, który charakteryzuje się mniejszymi stratami niż UFL. Ubiquity product is equipped with an MMCX connector, which is characterized by smaller losses than the UFL.

EMP-8603, unlike its competitor operates in the 2.4 GHz (802.11b / g) and 5GHz (802.11a). Worth emphasizing is the fact that each band has its own separate circuit radio. With such treatment card should be as little as fallback jednopasmowe modules. Card is protected against overvoltage to 16kV. Behind the EMP-8603 includes two radiators. For the 2.4 GHz band and 5GHz MMCX connectors derived separately. Along with the card get the cable to 5VDC external power supply or 6-24VDC, which may be necessary for low output current to the miniPCI slot machine base.

Tests

Map shows the position of the installation.

Wyświetl większą mapę View larger map

During the tests, the antenna separated distance of about 3km and between them there are no obstacles. EnGenius Senao card is prone to overclocking. The measurements were taken under the default values in the case of the EMP-8603 also at the power set to 30dBm. Charter also compared with the module Wistron CM9.

Sets of work in the following configurations:

  • A Proxim Omnidirectional antenna 10dBi 5GHz Tsunami has been installed on the eighth floor (about 25m). The antenna is connected to the tested modules are installed on board RouterBOARD RB433.
  • Set B consisted of a client with 23dBi panel antenna Mars, Wistron CM9 cards and RouterBOARD RB433 boards.

Measurement of the signal was measured at frequencies in the 5300MHz and 5500MHz - 5700MHz. The measurement results were read on MikroTik RB433 client-side.

The measurement results

Signal level in the 5300MHz and 5500MHz - 5700MHz



Frequency MHz 5300 5300 5500 5500 5540 5540 5580 5580 5620 5620 5660 5660 5700 5700 średnia average
EMP-8603 EMP-8603 -57 -57 -54 -54 -54 -54 -57 -57 -54 -54 -59 -59 -60 -60 -56,4 -56.4
EMP-8603 @30dBm EMP-8603 @ 30dBm -53 -53 -51 -51 -53 -53 -54 -54 -52 -52 -57 -57 -60 -60 -54,3 -54.3
XR5 XR5 -58 -58 -52 -52 -53 -53 -55 -55 -52 -52 -57 -57 -61 -61 -55,4 -55.4
CM9 CM9 -65 -65 -63 -63 -63 -63 -66 -66 -63 -63 -67 -67 -71 -71 -65,4 -65.4

During the tests, all the cards worked very stable. Senao EnGenius module does not require an external power connection when both worked with the power of default and overclocked to 30dBm. The average results agree with the technical specification. EMP-8603 overclocked obtained better results than the Ubiquiti card.

Summary

  • Stable RouterBoardzie cards on RB433
  • High levels of signals on both cards
  • EMP-8603 features separate tracks for the radio band 2.4GHz and 5GHz
  • Reliable cooling system on both cards
  • Senao EnGenius EMP-8603 can be a cheaper alternative to the XR5 Ubiquiti card.


copy from interprojekt

Senin, 05 April 2010

CARA MENGHILANGKAN VIRUS YUYUN CANTIK


akhir-akhir ini yang lagi trend adalah virus autorun.inf dan thumb.db. Virus ini membuat banyak sekali shortcut di masing-masing folder berupa microsoft.lnk dan seterusnya. tak pelak lagi, komputer yang terkena virus ini akan menjadi lambat bin lemot.

Nama si viruspun yang kagak2 aja ada yuyun cantik ada TATY MY LOVE

Sebenarnya cara yang saya gunakan ini akan berlaku bagi segala jenis virus, sehingga anda dapat menangani virus-virus sederhana secara manual.

alat-alat

1. Total commander dapat didownload disini

Persiapan.

1. matikan autorun CD dan flash disk

2. Mematikan wscript.exe.

wscript.exe adalah program window yang digunakan untuk menjalankan script. Agar virusnya tidak lagi aktif di memory, maka harus dimatikan dahulu. Caranya: tekan ctrl+alt+del untuk masuk TASK MANAGER, lalu cari wscrip.exe pada tab Processes , klik kanan kemudian pilih : End Process Tree dan tekan YES

3. buka total commander. di “configuration/option/display” centang “show hidden/system files”

4. buka drive flash disk anda, misal “e:/” lihat di root folder apakah ada file autorun.inf yang ada tanda seru berwarna merahnya

4. untuk memastikan autorun.inf anda adalah virus, maka lihat isinya. caranya . klik KANAN autorun.inf.

b. TEKAN ctrl+Q

c. lihat isi kolom sampingnya. bila ada tulisan thumb.db atau tulisan ngaco lainnya yang bukan milik anda “lain ceritanya kalau anda memang pembuat virus”, berarti itu virus.

Kalau nggak salah virus ini ada tulisannya “yuyun v.1″ atau “www.muslimah.or.id”

d. kalau ada virusnya berarti anda teruskan ke langkah 5. kalau nggak ya… selesai.

menghapus file buatan Yuyun (autorun.inf; thumb.db;*.lnk)

5. lakukan pencarian di “command/search” atau tekan Ctrl+F7

6. di kotak “search for” tulis “autorun.inf;thumb.db;*.lnk;database.mdb;*.tmp“. Pilih search in “local harddisk”. tambahkan juga drive flash disk anda bila perlu

7. centang “find text:” isi dengan “Wscript.exe //e:VBScript” INGAT!. ini harus diisi, sebab kalau tidak file penting anda akan HILANG

8. klik “start search”

9. setelah pencarian selesai.. klik “feed to listbook”

10.klik “Mark/select all” dan tekan F8

membersihkan registry

11. langkah terakhir adalah membersihkan registry. Buka registry dari start/run tulis: regedit. Kalau di disable, silahkan hidupkan. Tekan CTRL+F untuk mencari kata “Wscript.exe //e:VBScript ”. Delete lah key yang ada tulisannya tersebut. dengan menekan tombol F3 sampai seluruh key yang mengandung kata tersebut habis.

Mendelete file-file buatan yuyun

File yang yuyun buat ada beberapa, yaitu :

  • %UserProfile%Local Settings/Temp/[Random].tmp
  • %UserProfile%Local Settings/Temp/auto.exe
  • %UserProfile%Local Settings/Temp/Yuyun.Q
  • UNTUK KETIGA FILE TERSEBUT, DARIPADA SUSAH NYARI LEBIH BAIK DELETE SAJA SEMUA FILE DI FOLDER TEMP
  • %UserProfile%My Documents/database.mdb
  • DELETE FILE INI BILA TIDAK TERDETEKSI DI SEARCH SEBELUMNYA
  • %Windir%:Microsoft Office Update for Windows XP.sys
  • DELETE FILE INI DI C:/WINDOWS
  • %UserProfile%Local Settings/Temp/v.doc
  • FILE INI TIDAK BERBAHAYA, HANYA PESAN YANG DIBUAT OLEH PEMBUAT VIRUS
Sedangkan registry yang diganti, adalah seperti ini:
  • HKEY_CURRENT_USER/Software/MicrosoftWindows/CurrentVersion/Run/ ”Explorer” = “Wscript.exe //e:VBScript “%UserProfile%My Documents/database.mdb””
  • HKEY_LOCAL_MACHINESOFTWARE/MicrosoftWindows/
  • CurrentVersion/Run/ “WinUpdate” = “Wscript.exe //e:VBScript “%Windir%:Microsoft Office Update for Windows XP.sys””
  • DELETE REGISTRY TERSEBUT
  • HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem “DisableRegistrytools” = 1
  • ENABLEKAN REGISTRY DULU. instal file ini
Kalau nggak mau susah, ternyata McAfee update terbaru sudah mampu menanganinya secara otomatis. Saya menggunakan AVG dan masih belum mampu.
catatan :
  • %userprofile% maksudnya di document and settings/username
  • %windir% maksudnya c:/windows (atau di drive mana anda tempatkan folder windows)

Saya sarankan menggunakan Total Commander untuk membuka flashdisk dengan opsi “show hidden file” karena anda dapat dengan cepat mendeteksi adanya virus ini; yang ditandai dengan adanya tulisan autorun.inf dan thumb.db

Menghapus yuyun dari flashdisk

untuk menghapus yuyun dari flash disk, caranya lebih sederhana, karena yuyun hanya muncul sebagai file autorun.inf dan thumb.db dan *.lnk di setiap folder. Dengan demikian caranya sebagai berikut:

  • Pastikan bahwa komputer anda sudah bebas virus, atau kalau mau membiarkan komputernya ditangani oleh orang lain, minimal virusnya tidak jalan di memori. Matikan wscrip.exe dari memori seperti langkah 2 diatas
  • Lakukan prosedur 3 sampai 6, tapi di langkah 6, hanya tuliskan di “search for” – “autorun.inf;thumb.db;*.lnk”.
  • kerjakan langkah 7-10.
  • cek ulang dan selesai

Selamat mencoba, bila sakit berlanjut hubungin dokter :D