【正文】
aEnd Sub:Private Sub Command1_Click()=Textfiles(*.txt)|*.txt|Datafiles(*.dat)|*.dat|All files(*.*)|*.* = 1 = = 1Open For Input As 1Do While Not EOF(1) Line Input 1, a = + a + vbCrLfLoopClose 1End SubPrivate Sub Command2_Click()=Textfiles(*.txt)|*.txt|Datafiles(*.dat)|*.dat|All files(*.*)|*.* = 2 = = 2Open For Output As 1Print 1, Close 1End SubPrivate Sub Command3_Click()Dim b% b = InStr(b + 1, Text1, VB) If b 0 Then = b 1 = 2 b = b + 1 Else MsgBox 找不到 End IfEnd SubPrivate Sub Co