This is basically what im trying to do...
If line one in dir$("\car.txt") says "yes" then
label1.visible = true
elseif line one in dir$("\car.txt") says "no" then
label2.visible = true
end if
Hope ya can help
Printable View
This is basically what im trying to do...
If line one in dir$("\car.txt") says "yes" then
label1.visible = true
elseif line one in dir$("\car.txt") says "no" then
label2.visible = true
end if
Hope ya can help
Private Sub Command1_Click()
Open "c:\yourfile.txt" For Input As #1
Dim sFirst
Line Input #1, sFirst
If sFirst = "yes" Then
Label1.Visible = True
Else
Exit Sub
End If
Close #1
End Sub