正如你們都知道蓮花打印,我們將使用蓮:我不能寫MSGBOX信息爲文件
MsgBox "User has already entered into the application"
任何消息,但這個消息我必須把它寫入TXT文件,所以我代表Msgbox使用此代碼
Dim file As Integer
fileN% = Freefile()
Open "D:\sand_p\enter.txt" For Output As fileN%
Print #fileN%, "User has already entered into the application"
Close fileN%
仍然代碼不會將消息寫入文件。 任何人都可以幫助我糾正這個上面的代碼,以便它將追加數據,如果有任何文本文件已經寫入消息到文件。