Private Sub Command1_Click()
Dim myfrt As fruit
myfrt. orange = 5
myfrt. apple = 10
Open “c:/myfrta. txt” For Output As #1
Print #1, myfrt. orange; myfrt. apple
Close #1
End Sub Private Sub Command1_Click()
Dim myfrt As fruit
myfrt. orange= 5
myfrt. apple= 10
Open “c:/myfrtac. txt”For Input As #1
Print #1, myfrt, orange; myfrt. apple
Close #1
End Sub Private Sub Command1_Click()
Dim myfrt As fruit
myfrt. orange= 5
myfrt. apple = 10
Open “c:/myfrtac. txt” For As #1
Print #1, myfrt. orange; myfrt. apple
Close #1
End Sub Private Sub Command1_Click()
Dim myfrt As fruit
myfrt. orange = 5
myfrt. apple= 10
Open “c:/myfrtac..txt” For Output As #1
Print myfrt. orange; myfrt. apple
Close #1
End Sub
Private Sub Command1_Click() Dim myfrt As fruit myfr orange = 5 myfr apple = 10 Open “c:/myfrt txt” For Output As #1 Print #1, myfr orange; myfr apple Close #1 End Sub Private Sub Command1_Click() Dim myfrt As fruit myfr orange= 5 myfr apple= 10 Open “c:/myfrta txt”For Input As #1 Print #1, myfrt, orange; myfr apple Close #1 End Sub Private Sub Command1_Click() Dim myfrt As fruit myfr orange= 5 myfr apple = 10 Open “c:/myfrta txt” For As #1 Print #1, myfr orange; myfr apple Close #1 End Sub Private Sub Command1_Click() Dim myfrt As fruit myfr orange = 5 myfr apple= 10 Open “c:/myfrta.txt” For Output As #1 Print myfr orange; myfr apple Close #1 End Sub