看板 Visual_Basic 關於我們 聯絡資訊
連續三行如下 Open tmpFilePath & "xxx\" & tmpFileName For Output As #5 Close #5 Open tmpFilePath & "xxx\" & tmpFileName For Binary Access Write As #5 不知道為什麼之前要先open再close 有什麼特別的功用嗎 為了避免檔案已經打開? 把file pointer移回開頭??? ====== Open Label1.Caption For Binary Access Read As #1 Len = 270 順便一問 上面這行的 Len = 270 是什麼意思 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 203.66.84.2 ※ 編輯: slasher 來自: 203.66.84.2 (08/08 14:50)
fumizuki:for output 會把檔案內容清除 08/11 19:38
fumizuki:Len = 270 限定單筆記錄的長度為270 預留270個空間 08/11 19:43
slasher:感謝~~~~ 08/12 00:39