VB初心者質問スレ Part4
■ このスレッドは過去ログ倉庫に格納されています
0858デフォルトの名無しさん
NGNG"C:\Program Files\MyProg\file\index.txt"を開く場合
Dim strBuff As String
Dim intFileNum As Integer
Dim strFullPath As String 'フルパス
Dim strSoutaiPath As String '相対パス
strSoutaiPath = "\file\index.txt"
strFullPath = App.Path & strSoutaiPath
intFileNum = FreeFile()
Open strFullPath For Input as #intFileNum
Line Input #intFileNum, strBuff
Close #intFileNum
Label3.Caption = strBuff
■ このスレッドは過去ログ倉庫に格納されています