|
Dim n1, n2, n3 'test
Private Sub Form_Load () 'read points
If Dir ("c:\a.txt") = "" Then Exit Sub
Open "c:\a.txt" For Input As 1
Input # 1, n1, n2, n3
Close
Text1 = n1: Text2 = n2: Text3 = n3
End Sub
Private Sub Form_Unload (Cancel As Integer) '
Open "c:\a.txt" For Output As 1
Write # 1, Text1, Text2, Text3
Close
End Sub |
|