Contents

Develop
2003.04.23 00:03

[vb] 비주얼 베이직 131페이지

Views 58044 Comment 0
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
DefSng A-Z
Dim a(10) As String, b(10), c(10), d(10), e(10), f(10), pc, tot
Private Sub Command1_Click()
    pc = pc + 1

    a(pc) = Text1.Text
    b(pc) = Text2.Text
    tot = tot + b(pc)
    Text1.Text = ""
    Text2.Text = ""

    Text1.SetFocus
End Sub

Private Sub Command2_Click()

For i = 1 To pc
    c(i) = b(i) * 1000
    d(i) = Int(1000 * 20 * (b(i) / tot) + 0.5)
    e(i) = Int(c(i) + d(i) * 0.1 + 0.5)
    f(i) = c(i) + d(i) + e(i)

    h2 = h2 + c(i)
    h3 = h3 + d(i)
    h4 = h4 + e(i)
    h5 = h5 + f(i)
Next


?

List of Articles
No. Category Subject Author Date Views
20 Develop [android] 점심 해결 앱 소스 코드 ㅋㅋ file hooni 2013.04.23 76399
19 Develop [ios] Did UIScrollView End Scrolling? hooni 2016.04.19 1027
18 Develop [ios] FlckrFeed Example App (Swift) file hooni 2016.11.27 1079
17 Develop [ios] UIAlertView 초간단 샘플 ㅎㅎ hooni 2013.10.14 46115
16 Develop [ios] UUID 생성 + Key Chain 연동 file hooni 2016.05.13 4670
15 Develop [ios] 동영상 플레이어 샘플 (for Local File) file hooni 2017.02.07 1077
14 Develop [ios] 동영상 플레이어 샘플 (for PIP Player) file hooni 2017.03.15 1269
13 Develop [ios] 동영상 플레이어 샘플 (for Remote Url) file hooni 2017.02.07 1648
12 Develop [ios][swift] 초간단 TableView 샘플 file hooni 2016.06.27 746
11 Develop [ios][swift] 초간단 To-do Memo file hooni 2016.06.27 1073
10 Develop [ios][swift] 초간단 카달로그 앱 (Catalog App) file hooni 2016.06.27 7133
» Develop [vb] 비주얼 베이직 131페이지 hooni 2003.04.23 58044
Board Pagination Prev 1 2 Next
/ 2