-1
このページでは、行ごとにデータを読み込むためにこのコードを使用します。今、テキストファイルを行単位で編集する方法は?行単位でテキストファイルを編集するVB6
(VB6) Reading text files line by line looking for specific words
If InStr(1, lines(i), "sample text", vbTextCompare) Then
lines (i)= "new text"
私はこのコードを使用したが、何も変わっていません。
私は特別な行を編集したいだけで、別のデータは変更されません – Elias