vb如何新建空文件?
PrivateSubCommand1_Click()CommonDialog1.ShowSaveOpenCommonDialog1.FileNameForOutputAs...
Private Sub Command1_Click()
CommonDialog1.ShowSave
Open CommonDialog1.FileName For Output As #10
Print #10, Text1.Text
Close #10
End Sub
保存文件时,如何覆盖上次的内容? 展开
CommonDialog1.ShowSave
Open CommonDialog1.FileName For Output As #10
Print #10, Text1.Text
Close #10
End Sub
保存文件时,如何覆盖上次的内容? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询