Відкривати,редагувати та зберігати .txt:
Код:
Private Sub Command1_Click() Open "c:\temp.txt" For Input As #1 Do Until EOF(1) Line Input #1, txt alltxt = alltxt + txt + vbCrLf Loop Close #1 txtText.Text = alltxt End Sub Private Sub Command2_Click() Open "c:\temp.txt" For Output As #1 Print #1, txtText.Text Close #1 End Sub