如何用vb6輸出以下句子到txt文檔中

2008-08-25 7:46 am
句子是........user="shop"

因為text1.txt是儲存shop這段文字的,所以....

我用的句子是
Open "c:\customer\1.txt" For Append As #1
Print #1, CStr(user),("="),("),(text1.text),(")
Close #1

感謝大大的幫助!!!
更新1:

001答到第二條問題- - 002答到第一條問題-_- 都唔知選邊個好t^t 試下邊個用到就邊個啦xd^^

回答 (1)

2008-08-26 2:33 am
✔ 最佳答案
Open "c:\customer\1.txt" For Append As #1
Print #1, "user=" & Chr(34) & text1.text & Chr(34)
Close #1


收錄日期: 2021-05-03 11:38:03
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20080824000051KK03361

檢視 Wayback Machine 備份