タグ

2008年6月18日のブックマーク (1件)

  • VB テキストファイル操作編

    【サンプルリスト】 '************************************** ' テキストファイルを1行単位に読み込む '************************************** Private Sub Command1_Click() Dim fileNo As Integer Dim buf fileNo = FreeFile                        'ファイル番号の取得 Open "TESTFILE.TXT" For Input As #fileNo 'ファイルを読込モードで開く Do Until EOF(fileNo)                     'EOFになるまでループ Line Input #fileNo, buf                'ファイルから1行読み込む Debu

    k2h6-432
    k2h6-432 2008/06/18