Курсовая работа: Программирование в Бейсике
Dim e As Integer, mx As Single, my As Single
Dim zzz As Integer, zxz As Integer
Dim aa As Integer, x0 As Single, y0 As Single, nama(0 To 30, 0 To 35) As String
Private Sub Combo1_Click()
Mi = 0
Misk = 0
Boom = True
disk = 999
Do_Do = False
Doomy = False
Command4.Enabled = False
Command5.Enabled = False
Command6.Enabled = False
Combo2.Clear
Combo3.Clear
Combo4.Clear
Text1.Text = "": Text2.Text = "": Text3.Text = "": Text4.Text = ""
Me.Picture1.Visible = True
Combo2.Enabled = True: Combo4.Enabled = True
Command1.Enabled = True: Command2.Enabled = True: Command3.Enabled = True: Command7.Enabled = True
Command5.Enabled = True
Mis = Combo1.ListIndex
If Len(Dir("c:\Курсоваямоя\" + Combo1.List(Mis) + ".txt")) = 0 Then
MsgBox"Файл маршрута не найден" + vbCrLf + _
"Проверьте его наличие: 'c:\Курсовая моя\" + Combo1.List(Mis) + ".txt'"
Exit Sub
Else
Files
End If