P. 1
Visual Basic 6

Visual Basic 6

|Views: 1,499|Likes:
Published by yoy71

More info:

Published by: yoy71 on Nov 22, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

07/31/2013

pdf

text

original

Aktifkan VB 6 melalui tombol Start.

Tambahkan Form baru ke dalam Project.
Pada Jendela Form buatlah UI seperti ini :

Created by yoy

VISUAL BASIC 6.0

(Gunakan komponen TextBox dan CommandButton)

Pengaturan property setiap object-nya adalah sebagai berikut :

Object

Properties

Value

Form9

BorderStyle
Caption
StartUpPosition

1 – Fixed Single
Kalkulator

2 – Center Screen

Text1

Alignment
Text

1 – Right Justify

Command1

Name
Caption
Index

cmdAngka
1
0

Command2

Name
Caption

cmdHapus
C

Command3

Name
Caption
Index

cmdOperator
+
0

Command4

Name
Caption

cmdHitung
=

Buat kontrol array dari cmdAngka (sebanyak 10 buah) dan dari cmdOperator
(sebanyak 3
buah). Kemudian atur property caption masing-masing sebagai berikut :

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->