Private Sub Command1_Click()Dim a As StringOpen App.Path & "A.txt" For Input As #1Open App.Path & "B.txt" For Output As #2While Not EOF(1)Line Input #1, aPrint #2, Val(a) * 2 + 1WendClose #1Close #2End Sub