• Tidak ada hasil yang ditemukan

Visual menuju metodologi visual Basic

N/A
N/A
Protected

Academic year: 2018

Membagikan "Visual menuju metodologi visual Basic"

Copied!
20
0
0

Teks penuh

(1)

If Combo1.Text = "m/s" And Combo2.Text = "m" And Combo3.Text = "m^2/s (stoke)" Then '1 Label7.Caption = Text1.Text * Text2.Text / Text3.Text

End If

If Combo1.Text = "m/s" And Combo2.Text = "m" And Combo3.Text = "cm^2/s (stoke)" Then '2 Label7.Caption = Text1.Text * Text2.Text / (Text3.Text / 10000)

End If

If Combo1.Text = "m/s" And Combo2.Text = "m" And Combo3.Text = "mm^2/s (cSt)" Then '3 Label7.Caption = Text1.Text * Text2.Text / (Text3.Text / 1000000)

End If

If Combo1.Text = "m/s" And Combo2.Text = "ft" And Combo3.Text = "m^2/s" Then '4 Label7.Caption = Text1.Text * Text2.Text * 0.3048 / Text3.Text

End If

If Combo1.Text = "m/s" And Combo2.Text = "ft" And Combo3.Text = "cm^2/s (stoke)" Then '5 Label7.Caption = Text1.Text * Text2.Text * 0.3048 / (Text3.Text / 10000)

End If

If Combo1.Text = "m/s" And Combo2.Text = "ft" And Combo3.Text = "mm^2/s (cSt)" Then '6 Label7.Caption = Text1.Text * Text2.Text * 0.3048 / (Text3.Text / 1000000)

End If

(2)

Label7.Caption = Text1.Text * Text2.Text * 0.01 / Text3.Text End If

If Combo1.Text = "m/s" And Combo2.Text = "cm" And Combo3.Text = "cm^2/s (stoke)" Then '8 Label7.Caption = Text1.Text * Text2.Text * 0.01 / (Text3.Text / 10000)

End If

If Combo1.Text = "m/s" And Combo2.Text = "cm" And Combo3.Text = "mm^2/s (cSt)" Then '9 Label7.Caption = Text1.Text * Text2.Text * 0.01 / (Text3.Text / 1000000)

End If

If Combo1.Text = "m/s" And Combo2.Text = "inch" And Combo3.Text = "m^2/s" Then '10 Label7.Caption = Text1.Text * Text2.Text * 0.0254 / Text3.Text

End If

If Combo1.Text = "m/s" And Combo2.Text = "inch" And Combo3.Text = "cm^2/s (stoke)" Then '11 Label7.Caption = Text1.Text * Text2.Text * 0.0254 / (Text3.Text / 10000)

End If

If Combo1.Text = "m/s" And Combo2.Text = "inch" And Combo3.Text = "mm^2/s (cSt)" Then '12 Label7.Caption = Text1.Text * Text2.Text * 0.0254 / (Text3.Text / 1000000)

End If

(3)

End If

If Combo1.Text = "ft/s" And Combo2.Text = "m" And Combo3.Text = "cm^2/s (stoke)" Then '14 Label7.Caption = Text1.Text * 0.3048 * Text2.Text / (Text3.Text / 10000)

End If

If Combo1.Text = "ft/s" And Combo2.Text = "m" And Combo3.Text = "mm^2/s (cSt)" Then '15 Label7.Caption = Text1.Text * 0.3048 * Text2.Text / (Text3.Text / 1000000)

End If

If Combo1.Text = "ft/s" And Combo2.Text = "ft" And Combo3.Text = "m^2/s" Then '16 Label7.Caption = Text1.Text * 0.3048 * Text2.Text * 0.3048 / Text3.Text

End If

If Combo1.Text = "ft/s" And Combo2.Text = "ft" And Combo3.Text = "cm^2/s (stoke)" Then '17 Label7.Caption = Text1.Text * 0.3048 * Text2.Text * 0.3048 / (Text3.Text / 10000)

End If

If Combo1.Text = "ft/s" And Combo2.Text = "ft" And Combo3.Text = "mm^2/s (cSt)" Then '18 Label7.Caption = Text1.Text * 0.3048 * Text2.Text * 0.3048 / (Text3.Text / 1000000)

End If

If Combo1.Text = "ft/s" And Combo2.Text = "cm" And Combo3.Text = "m^2/s" Then '19 Label7.Caption = Text1.Text * 0.3048 * Text2.Text * 0.01 / Text3.Text

(4)

If Combo1.Text = "ft/s" And Combo2.Text = "cm" And Combo3.Text = "cm^2/s (stoke)" Then '20 Label7.Caption = Text1.Text * 0.3048 * Text2.Text * 0.01 / (Text3.Text / 10000)

End If

If Combo1.Text = "ft/s" And Combo2.Text = "cm" And Combo3.Text = "mm^2/s (cSt)" Then '21 Label7.Caption = Text1.Text * 0.3048 * Text2.Text * 0.01 / (Text3.Text / 1000000)

End If

If Combo1.Text = "ft/s" And Combo2.Text = "inch" And Combo3.Text = "m^2/s" Then '22 Label7.Caption = Text1.Text * 0.3048 * Text2.Text * 0.0254 / Text3.Text

End If

If Combo1.Text = "ft/s" And Combo2.Text = "inch" And Combo3.Text = "cm^2/s (stoke)" Then '23 Label7.Caption = Text1.Text * 0.3048 * Text2.Text * 0.0254 / (Text3.Text / 10000)

End If

If Combo1.Text = "ft/s" And Combo2.Text = "inch" And Combo3.Text = "mm^2/s (cSt)" Then '24 Label7.Caption = Text1.Text * 0.3048 * Text2.Text * 0.0254 / (Text3.Text / 1000000)

End If

If Combo1.Text = "m/minute" And Combo2.Text = "m" And Combo3.Text = "m^2/s" Then '25 Label7.Caption = Text1.Text / 60 * Text2.Text / Text3.Text

(5)

If Combo1.Text = "m/minute" And Combo2.Text = "m" And Combo3.Text = "cm^2/s (stoke)" Then '26 Label7.Caption = Text1.Text / 60 * Text2.Text / (Text3.Text / 10000)

End If

If Combo1.Text = "m/minute" And Combo2.Text = "m" And Combo3.Text = "mm^2/s (cSt)" Then '27 Label7.Caption = Text1.Text / 60 * Text2.Text / (Text3.Text / 1000000)

End If

If Combo1.Text = "m/minute" And Combo2.Text = "ft" And Combo3.Text = "m^2/s" Then '28 Label7.Caption = Text1.Text / 60 * Text2.Text * 0.3048 / Text3.Text

End If

If Combo1.Text = "m/minute" And Combo2.Text = "ft" And Combo3.Text = "cm^2/s (stoke)" Then '29 Label7.Caption = Text1.Text / 60 * Text2.Text * 0.3048 / (Text3.Text / 10000)

End If

If Combo1.Text = "m/minute" And Combo2.Text = "ft" And Combo3.Text = "mm^2/s (cSt)" Then '30 Label7.Caption = Text1.Text / 60 * Text2.Text * 0.3048 / (Text3.Text / 1000000)

End If

If Combo1.Text = "m/minute" And Combo2.Text = "cm" And Combo3.Text = "m^2/s" Then '31 Label7.Caption = Text1.Text / 60 * Text2.Text * 0.01 / Text3.Text

End If

(6)

Label7.Caption = Text1.Text / 60 * Text2.Text * 0.01 / (Text3.Text / 10000) End If

If Combo1.Text = "m/minute" And Combo2.Text = "cm" And Combo3.Text = "mm^2/s (cSt)" Then '33 Label7.Caption = Text1.Text / 60 * Text2.Text * 0.01 / (Text3.Text / 1000000)

End If

If Combo1.Text = "m/minute" And Combo2.Text = "inch" And Combo3.Text = "m^2/s" Then '34 Label7.Caption = Text1.Text / 60 * Text2.Text * 0.0254 / Text3.Text

End If

If Combo1.Text = "m/minute" And Combo2.Text = "inch" And Combo3.Text = "cm^2/s (stoke)" Then '35 Label7.Caption = Text1.Text / 60 * Text2.Text * 0.0254 / (Text3.Text / 10000)

End If

If Combo1.Text = "m/minute" And Combo2.Text = "inch" And Combo3.Text = "mm^2/s (cSt)" Then '36 Label7.Caption = Text1.Text / 60 * Text2.Text * 0.0254 / (Text3.Text / 1000000)

End If

If Combo1.Text = "ft/minute" And Combo2.Text = "m" And Combo3.Text = "m^2/s" Then '37 Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text / Text3.Text

End If

(7)

End If

If Combo1.Text = "ft/minute" And Combo2.Text = "m" And Combo3.Text = "mm^2/s (cSt)" Then '39 Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text / (Text3.Text / 1000000)

End If

If Combo1.Text = "ft/minute" And Combo2.Text = "ft" And Combo3.Text = "m^2/s" Then '40 Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * 0.3048 / Text3.Text

End If

If Combo1.Text = "ft/minute" And Combo2.Text = "ft" And Combo3.Text = "cm^2/s (stoke)" Then '41 Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * 0.3048 / (Text3.Text / 10000)

End If

If Combo1.Text = "ft/minute" And Combo2.Text = "ft" And Combo3.Text = "mm^2/s (cSt)" Then '42 Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * 0.3048 / (Text3.Text / 1000000)

End If

If Combo1.Text = "ft/minute" And Combo2.Text = "cm" And Combo3.Text = "m^2/s" Then '43 Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * 0.01 / Text3.Text

End If

If Combo1.Text = "ft/minute" And Combo2.Text = "cm" And Combo3.Text = "cm^2/s (stoke)" Then '44 Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * 0.01 / (Text3.Text / 10000)

(8)

If Combo1.Text = "ft/minute" And Combo2.Text = "cm" And Combo3.Text = "mm^2/s (cSt)" Then '45 Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * 0.01 / (Text3.Text / 1000000)

End If

If Combo1.Text = "ft/minute" And Combo2.Text = "inch" And Combo3.Text = "m^2/s" Then '46 Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * 0.0254 / Text3.Text

End If

If Combo1.Text = "ft/minute" And Combo2.Text = "inch" And Combo3.Text = "cm^2/s (stoke)" Then '47 Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * 0.0254 / (Text3.Text / 10000)

End If

If Combo1.Text = "ft/minute" And Combo2.Text = "inch" And Combo3.Text = "mm^2/s (cSt)" Then '48 Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * 0.0254 / (Text3.Text / 1000000)

End If

If Check1.Value = 1 And Combo1.Text = "m/s" And Combo2.Text = "m" And Combo4.Text = "kg/m^3" And Combo5.Text = "Pa.S (poise)" Then '49

Label7.Caption = Text1.Text * Text2.Text * (Text4.Text / Text5.Text) Else

(9)

If Combo1.Text = "m/s" And Combo2.Text = "m" And Combo4.Text = "kg/m^3" And Combo5.Text = "centipoise (cP)" Then '50

Label7.Caption = Text1.Text * Text2.Text * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "m/s" And Combo2.Text = "m" And Combo4.Text = "g/cm^3" And Combo5.Text = "Pa.S (poise)" Then '51

Label7.Caption = Text1.Text * Text2.Text * (Text4.Text / Text5.Text) End If

If Combo1.Text = "m/s" And Combo2.Text = "m" And Combo4.Text = "g/cm^3" And Combo5.Text = "centipoise (cP)" Then '52

Label7.Caption = Text1.Text * Text2.Text * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "m/s" And Combo2.Text = "ft" And Combo4.Text = "kg/m^3" And Combo5.Text = "Pa.S (poise)" Then '53

Label7.Caption = Text1.Text * Text2.Text * 0.3048 * (Text4.Text / Text5.Text) End If

If Combo1.Text = "m/s" And Combo2.Text = "ft" And Combo4.Text = "kg/m^3" And Combo5.Text = "centipoise (cP)" Then '54

Label7.Caption = Text1.Text * Text2.Text * 0.3048 * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "m/s" And Combo2.Text = "ft" And Combo4.Text = "g/cm^3" And Combo5.Text = "Pa.S (poise)" Then '55

(10)

End If

If Combo1.Text = "m/s" And Combo2.Text = "ft" And Combo4.Text = "g/cm^3" And Combo5.Text = "centipoise (cP)" Then '56

Label7.Caption = Text1.Text * Text2.Text * 0.3048 * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "m/s" And Combo2.Text = "cm" And Combo4.Text = "kg/m^3" And Combo5.Text = "Pa.S (poise)" Then '57

Label7.Caption = Text1.Text * Text2.Text * 0.01 * (Text4.Text / Text5.Text) End If

If Combo1.Text = "m/s" And Combo2.Text = "cm" And Combo4.Text = "kg/m^3" And Combo5.Text = "centipoise (cP)" Then '58

Label7.Caption = Text1.Text * Text2.Text * 0.01 * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "m/s" And Combo2.Text = "cm" And Combo4.Text = "g/cm^3" And Combo5.Text = "Pa.S (poise)" Then '59

Label7.Caption = Text1.Text * Text2.Text * 0.01 * (Text4.Text / Text5.Text) End If

If Combo1.Text = "m/s" And Combo2.Text = "cm" And Combo4.Text = "g/cm^3" And Combo5.Text = "centipoise (cP)" Then '60

(11)

If Combo1.Text = "m/s" And Combo2.Text = "inch" And Combo4.Text = "kg/m^3" And Combo5.Text = "Pa.S (poise)" Then '61

Label7.Caption = Text1.Text * Text2.Text * 0.0254 * (Text4.Text / Text5.Text) End If

If Combo1.Text = "m/s" And Combo2.Text = "inch" And Combo4.Text = "kg/m^3" And Combo5.Text = "centipoise (cP)" Then '62

Label7.Caption = Text1.Text * Text2.Text * 0.0254 * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "m/s" And Combo2.Text = "inch" And Combo4.Text = "g/cm^3" And Combo5.Text = "Pa.S (poise)" Then '63

Label7.Caption = Text1.Text * Text2.Text * 0.0254 * (Text4.Text / Text5.Text) End If

If Combo1.Text = "m/s" And Combo2.Text = "inch" And Combo4.Text = "g/cm^3" And Combo5.Text = "centipoise (cP)" Then '64

Label7.Caption = Text1.Text * Text2.Text * 0.0254 * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "ft/s" And Combo2.Text = "m" And Combo4.Text = "kg/m^3" And Combo5.Text = "Pa.S (poise)" Then '65

Label7.Caption = Text1.Text * 0.3048 * Text2.Text * (Text4.Text / Text5.Text) End If

If Combo1.Text = "ft/s" And Combo2.Text = "m" And Combo4.Text = "kg/m^3" And Combo5.Text = "centipoise (cP)" Then '66

(12)

End If

If Combo1.Text = "ft/s" And Combo2.Text = "m" And Combo4.Text = "g/cm^3" And Combo5.Text = "Pa.S (poise)" Then '67

Label7.Caption = Text1.Text * 0.3048 * Text2.Text * (Text4.Text / Text5.Text) End If

If Combo1.Text = "ft/s" And Combo2.Text = "m" And Combo4.Text = "g/cm^3" And Combo5.Text = "centipoise (cP)" Then '68

Label7.Caption = Text1.Text * 0.3048 * Text2.Text * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "ft/s" And Combo2.Text = "ft" And Combo4.Text = "kg/m^3" And Combo5.Text = "Pa.S (poise)" Then '69

Label7.Caption = Text1.Text * 0.3048 * Text2.Text * 0.3048 * (Text4.Text / Text5.Text) End If

If Combo1.Text = "ft/s" And Combo2.Text = "ft" And Combo4.Text = "kg/m^3" And Combo5.Text = "centipoise (cP)" Then '70

Label7.Caption = Text1.Text * 0.3048 * Text2.Text * 0.3048 * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "ft/s" And Combo2.Text = "ft" And Combo4.Text = "g/cm^3" And Combo5.Text = "Pa.S (poise)" Then '71

(13)

If Combo1.Text = "ft/s" And Combo2.Text = "ft" And Combo4.Text = "g/cm^3" And Combo5.Text = "centipoise (cP)" Then '72

Label7.Caption = Text1.Text * 0.3048 * Text2.Text * 0.3048 * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "ft/s" And Combo2.Text = "cm" And Combo4.Text = "kg/m^3" And Combo5.Text = "Pa.S (poise)" Then '73

Label7.Caption = Text1.Text * 0.3048 * Text2.Text * 0.01 * (Text4.Text / Text5.Text) End If

If Combo1.Text = "ft/s" And Combo2.Text = "cm" And Combo4.Text = "kg/m^3" And Combo5.Text = "centipoise (cP)" Then '74

Label7.Caption = Text1.Text * 0.3048 * Text2.Text * 0.01 * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "ft/s" And Combo2.Text = "cm" And Combo4.Text = "g/cm^3" And Combo5.Text = "Pa.S (poise)" Then '75

Label7.Caption = Text1.Text * 0.3048 * Text2.Text * 0.01 * (Text4.Text / Text5.Text) End If

If Combo1.Text = "ft/s" And Combo2.Text = "cm" And Combo4.Text = "g/cm^3" And Combo5.Text = "centipoise (cP)" Then '76

Label7.Caption = Text1.Text * 0.3048 * Text2.Text * 0.01 * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "ft/s" And Combo2.Text = "inch" And Combo4.Text = "kg/m^3" And Combo5.Text = "Pa.S (poise)" Then '77

(14)

End If

If Combo1.Text = "ft/s" And Combo2.Text = "inch" And Combo4.Text = "kg/m^3" And Combo5.Text = "centipoise (cP)" Then '78

Label7.Caption = Text1.Text * 0.3048 * Text2.Text * 0.0254 * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "ft/s" And Combo2.Text = "inch" And Combo4.Text = "g/cm^3" And Combo5.Text = "Pa.S (poise)" Then '79

Label7.Caption = Text1.Text * 0.3048 * Text2.Text * 0.0254 * (Text4.Text / Text5.Text) End If

If Combo1.Text = "ft/s" And Combo2.Text = "inch" And Combo4.Text = "g/cm^3" And Combo5.Text = "centipoise (cP)" Then '80

Label7.Caption = Text1.Text * 0.3048 * Text2.Text * 0.0254 * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "m/minute" And Combo2.Text = "m" And Combo4.Text = "kg/m^3" And Combo5.Text = "Pa.S (poise)" Then '81

Label7.Caption = Text1.Text / 60 * Text2.Text * (Text4.Text / Text5.Text) End If

If Combo1.Text = "m/minute" And Combo2.Text = "m" And Combo4.Text = "kg/m^3" And Combo5.Text = "centipoise (cP)" Then '82

(15)

If Combo1.Text = "m/minute" And Combo2.Text = "m" And Combo4.Text = "g/cm^3" And Combo5.Text = "Pa.S (poise)" Then '83

Label7.Caption = Text1.Text / 60 * Text2.Text * (Text4.Text / Text5.Text) End If

If Combo1.Text = "m/minute" And Combo2.Text = "m" And Combo4.Text = "g/cm^3" And Combo5.Text = "centipoise (cP)" Then '84

Label7.Caption = Text1.Text / 60 * Text2.Text * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "m/minute" And Combo2.Text = "ft" And Combo4.Text = "kg/m^3" And Combo5.Text = "Pa.S (poise)" Then '85

Label7.Caption = Text1.Text / 60 * Text2.Text * 0.3048 * (Text4.Text / Text5.Text) End If

If Combo1.Text = "m/minute" And Combo2.Text = "ft" And Combo4.Text = "kg/m^3" And Combo5.Text = "centipoise (cP)" Then '86

Label7.Caption = Text1.Text / 60 * Text2.Text * 0.3048 * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "m/minute" And Combo2.Text = "ft" And Combo4.Text = "g/cm^3" And Combo5.Text = "Pa.S (poise)" Then '87

Label7.Caption = Text1.Text / 60 * Text2.Text * 0.3048 * (Text4.Text / Text5.Text) End If

If Combo1.Text = "m/minute" And Combo2.Text = "ft" And Combo4.Text = "g/cm^3" And Combo5.Text = "centipoise (cP)" Then '88

(16)

End If

If Combo1.Text = "m/minute" And Combo2.Text = "cm" And Combo4.Text = "kg/m^3" And Combo5.Text = "Pa.S (poise)" Then '89

Label7.Caption = Text1.Text / 60 * Text2.Text * 0.01 * (Text4.Text / Text5.Text) End If

If Combo1.Text = "m/minute" And Combo2.Text = "cm" And Combo4.Text = "kg/m^3" And Combo5.Text = "centipoise (cP)" Then '90

Label7.Caption = Text1.Text / 60 * Text2.Text * 0.01 * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "m/minute" And Combo2.Text = "cm" And Combo4.Text = "g/cm^3" And Combo5.Text = "Pa.S (poise)" Then '91

Label7.Caption = Text1.Text / 60 * Text2.Text * 0.01 * (Text4.Text / Text5.Text) End If

If Combo1.Text = "m/minute" And Combo2.Text = "cm" And Combo4.Text = "g/cm^3" And Combo5.Text = "centipoise (cP)" Then '92

Label7.Caption = Text1.Text / 60 * Text2.Text * 0.01 * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "m/minute" And Combo2.Text = "inch" And Combo4.Text = "kg/m^3" And Combo5.Text = "Pa.S (poise)" Then '93

(17)

If Combo1.Text = "m/minute" And Combo2.Text = "inch" And Combo4.Text = "kg/m^3" And Combo5.Text = "centipoise (cP)" Then '94

Label7.Caption = Text1.Text / 60 * Text2.Text * 0.0254 * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "m/minute" And Combo2.Text = "inch" And Combo4.Text = "g/cm^3" And Combo5.Text = "Pa.S (poise)" Then '95

Label7.Caption = Text1.Text / 60 * Text2.Text * 0.0254 * (Text4.Text / Text5.Text) End If

If Combo1.Text = "m/minute" And Combo2.Text = "inch" And Combo4.Text = "g/cm^3" And Combo5.Text = "centipoise (cP)" Then '96

Label7.Caption = Text1.Text / 60 * Text2.Text * 0.0254 * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "ft/minute" And Combo2.Text = "m" And Combo4.Text = "kg/m^3" And Combo5.Text = "Pa.S (poise)" Then '97

Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * (Text4.Text / Text5.Text) End If

If Combo1.Text = "ft/minute" And Combo2.Text = "m" And Combo4.Text = "kg/m^3" And Combo5.Text = "centipoise (cP)" Then '98

Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "ft/minute" And Combo2.Text = "m" And Combo4.Text = "g/cm^3" And Combo5.Text = "Pa.S (poise)" Then '99

(18)

End If

If Combo1.Text = "ft/minute" And Combo2.Text = "m" And Combo4.Text = "g/cm^3" And Combo5.Text = "centipoise (cP)" Then '100

Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "ft/minute" And Combo2.Text = "ft" And Combo4.Text = "kg/m^3" And Combo5.Text = "Pa.S (poise)" Then '101

Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * 0.3048 * (Text4.Text / Text5.Text) End If

If Combo1.Text = "ft/minute" And Combo2.Text = "ft" And Combo4.Text = "kg/m^3" And Combo5.Text = "centipoise (cP)" Then '102

Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * 0.3048 * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "ft/minute" And Combo2.Text = "ft" And Combo4.Text = "g/cm^3" And Combo5.Text = "Pa.S (poise)" Then '103

Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * 0.3048 * (Text4.Text / Text5.Text) End If

If Combo1.Text = "ft/minute" And Combo2.Text = "ft" And Combo4.Text = "g/cm^3" And Combo5.Text = "centipoise (cP)" Then '104

(19)

If Combo1.Text = "ft/minute" And Combo2.Text = "cm" And Combo4.Text = "kg/m^3" And Combo5.Text = "Pa.S (poise)" Then '105

Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * 0.01 * (Text4.Text / Text5.Text) End If

If Combo1.Text = "ft/minute" And Combo2.Text = "cm" And Combo4.Text = "kg/m^3" And Combo5.Text = "centipoise (cP)" Then '106

Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * 0.01 * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "ft/minute" And Combo2.Text = "cm" And Combo4.Text = "g/cm^3" And Combo5.Text = "Pa.S (poise)" Then '107

Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * 0.01 * (Text4.Text / Text5.Text) End If

If Combo1.Text = "ft/minute" And Combo2.Text = "cm" And Combo4.Text = "g/cm^3" And Combo5.Text = "centipoise (cP)" Then '108

Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * 0.01 * (Text4.Text / Text5.Text * 0.001) End If

If Combo1.Text = "ft/minute" And Combo2.Text = "inch" And Combo4.Text = "kg/m^3" And Combo5.Text = "Pa.S (poise)" Then '109

Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * 0.0254 * (Text4.Text / Text5.Text) End If

If Combo1.Text = "ft/minute" And Combo2.Text = "inch" And Combo4.Text = "kg/m^3" And Combo5.Text = "centipoise (cP)" Then '110

(20)

End If

If Combo1.Text = "ft/minute" And Combo2.Text = "inch" And Combo4.Text = "g/cm^3" And Combo5.Text = "Pa.S (poise)" Then '111

Label7.Caption = Text1.Text * 0.3048 / 60 * Text2.Text * 0.0254 * (Text4.Text / Text5.Text) End If

If Combo1.Text = "ft/minute" And Combo2.Text = "inch" And Combo4.Text = "g/cm^3" And Combo5.Text = "centipoise (cP)" Then '112

Referensi

Dokumen terkait

[r]

Dari pembahasan diatas dapat disimpulkan,bahwa bahasa pemrograman visual basic berkemampuan untuk berinteraksi dengan aplikasi lain di dalam sistem

 Microsoft juga mengembangkan Visual Basic for Applications (VBA) yang memungkinkan pengguna membuat program dalam aplikasi Microsoft lainnya dalam bentuk macro, atau add-in

Dalam menambahkan objek pada Blender akan menemukan dua jenis mode, yaitu Object Mode dan Edit Mode. Kedua modus tersebut memiliki fungsi yang berbeda. Edit Mode digunakan

• Procedure yang digunakan dalam suatu program dapat bertindak sebagai suatu blok yang dibangun untuk program lain dengan sedikit perubahan atau. tanpa perubahan

Dari pembahasan diatas dapat disimpulkan,bahwa bahasa pemrograman visual basic berkemampuan untuk berinteraksi dengan aplikasi lain di dalam sistem operasi

Module sering digunakan di dalam pendeklarasian connection dan recordset untuk penggunaan database , sehingga object connection dan recorset tersebut dapat digunakan pada semua

Jika kita sudah mengetahui cara menggunakan Microsoft Excel, namun masih banyak hal yang tidak dapat kita lakukan, sekarang saatnya kita untuk mempelajari fungsi dari Visual Basic for