Private Sub Form_Load()
Open Command For Input As #1
Do
Line Input #1, LineText
LeesVBP.Add LineText
Loop Until EOF(1)
Close 1
Open Command For Output As #1
TotalLines = LeesVBP.Count
For Teller = 1 To TotalLines
If LCase$(Left$(LeesVBP.Item(Teller), 8)) = _
"retained" Then
ElseIf LCase$(Left$(LeesVBP.Item(Teller), 14)) _
= "threadingmodel" Then
ElseIf LCase$(Left$(LeesVBP.Item(Teller), 18)) _
= "debugstartupoption" Then
Else
Print #1, LeesVBP.Item(Teller)
End If
Next Teller
Close 1
Beep
End
End Sub
|