Sabtu, 18 Februari 2012

LATIHAN 1


1.   Buatlah sebuah aplikasi baru (File | New Project | Standard 
      EXE)


2.   Masukan 3 TextBox, 3 Label dan 2 CommandButton\





3. Gantilah properties masing-masing komponen seperti tertera 
    dibawah ini :


  4.   Sesuai dengan Layout berikut


5.   Masukan code untuk CommandButton Proses

      txtBayar.Text = Val(txtHargaSatuan.Text) *  

    Val(txtJumlah.Text)
 

6.   Masukan code untuk CommandButton Keluar

      Unload Me

7.   Tekan F5 untuk menjalankan program (Running)

















PENGENALAN VISUAL BASIC 6.0

Main menu terdiri dari dua komponen  utama yaitu menu bar dan title bar. Menu bar menampilkan menu yang berisi perintah-perintah pada Visual Basic 6.0, sedangkan title bar akan menampilkan judul proyek Visual Basic yang sedang dikerjakan

 

Toolbox  berisi  kumpulan  objek  yang  digunakan  untuk  membuat  user  interface  serta pengontrolan bagi program yang dibuat.
 

Form  adalah  lembar  desain  tampilan  dari  program  yang  dibuat.  Form  ini menjadi pondasi tempat diletakannya  kontrol-kontrol  yang dimiliki oleh Visual Basic sesuai dengan yang diinginkan



Jendela Properties Merupakan  jendela  yang  digunakan  untuk  mengatur  properti  sebuah  objek. Objek  yang  diatur  propertinya  adalah  objek  yang  namanya  tercantum  dalam  kotak objek.



Code Editor adalah suatu jendela dimana merupakan tempat untuk menulis dan menyunting ruitn yang menentukan mekanisme kerja program.


Senin, 13 Februari 2012

Constant vehicle, save fuel

You may often see the drivers that often spur vehicle in high speed, of course, on the grounds that quickly reached the destination? But did you know that the vehicle is driven in speed above the average automobile fuel can drain faster than it should, not to mention the risk of accidents to be borne? To overcome the risk of wasteful gasoline, WHEELS teams provide some tips that might benefit you.
www.AutoPartsEXPRESS.com - Where the public can buy auto parts online at wholesale prices. All major brands available and backed by a 110% Low Price Guarantee!
The first step (this is quite difficult, especially for those who have the soul of the drivers) is to maintain the vehicle speed remains constant. Each time to shift gears, get the RPM range so that the car is in the numbers 3000 - 4000 (for gasoline vehicles) and 2500-3500 (for a diesel). That way, gasoline / diesel fuel used as a primary energy resource to run the vehicle also 'burned' by a constant amount.



For the uphill road, the speed and the above is mainly to watch. While for the downhill, the braking / brake usage should also be constant in maintaining vehicle speed. Who stepped on the brakes must be balanced, and keep that RPM does not exceed the specified limit (one way is to move the gears). In addition, play your car in gear so that the speed and the rate constant RPM.



The last step is in the open car windows. Often times in the course of near and far (especially when the car is not equipped with refrigeration equipment), we open car window so that cool air to flow inside. But make no mistake, should be opened, try to not just one but both sides (left and right) window is opened. Because if you only open one side only, the air circulation will only run in one direction (incoming) and thus would hamper the speed of the vehicle.Automatic, more fuel will be drained.
banner
 

Visitor flag

free counters

Site Info

contact us

Bisnis Wulan Copyright © 2009 Community is Designed by Bie Blogger Template