vb编程有问题,高手进!!

来源:百度知道 编辑:UC知道 时间:2024/05/26 07:07:55
我想让command2按下时text1中显示label5.caption,
并且按一次换一行显示,
按下command5时text1记录到文本文档中(text1要用Vscroll 1)
求教高手
要不覆盖原文件

private sub command2_click()
text1.text=text1.text & label5.caption & vbcrlf
end sub
private sub command5_click()
open "c:\tmp123.txt" for output as #1
print #1,text1.text
close #1
end sub

就选【stxfzhidao】的答案吧,没错的!