Visual Basic Program - Now It Is Working
Visual Basic Program - Now It Is Working
- Now it is working
PosTex.Text = Pos
If Pos > 0 Then
Dim Pa As Byte
Dim Pb As Byte
Get #1, Pos, Pa
Get #1, Pos + 1, Pb
result = Pa + Pb
Label1.Caption = result
' From Menu file
'1 sea
'2 inland water
'3 wetland
'4 barren
'5 grass/agriculture
'6 rangeland
'7 woodland
'8 forest
'9 village
'10 suburban
'11 dense suburban
'12 urban
'13 dense urban
'14 core urban
'15 building blocks
'16 industrial
'17 airport
'18 open in urban
Else
LaResult.Caption = "Out of Range"
End If
Close #1
End Sub