要实现每插入一条纪录就自动回车怎样实现?我刚学vb
解决方案 »
- 换工作了,散分
- 如何将多幅图片转换成动态Gif格式的动画???急用!
- 如何在VB里调用SQL Server的insert into TableName Values(...)命令?
- 组件如何注册
- 发生ODBC错误的处理?(在线,解决立即给分)
- 【求助】Windows 优化大师以及4.X版本的MMS的安装程序是用啥软件做的?
- VB 连接SQL数据库失败 错误91对象变量或WITH块变量未设置 If rst.RecordCount > 0 Then
- 有誰幫我看看這段代碼.我的分快用完了
- 关于调用控件(特急)
- vb编译的程序在有些机器上字体显示不正确,用什么办法可以改变
- 哪位老大有Spyworks控件?
- 请问如何存储和读取BMP文件开头两个字母“bm”
Dim txt1 As String
Dim Enter As String
Dim InfoAddMoney As String
Dim InfoSubMoney As String
Dim Fengefu As StringEnter = ach(10)
InfoAddMoney = "充值"
InfoSubMoney = "消费"
Fengefu = "||"
Open "e:\ego_xu\test.txt" For Input As #1
While Not EOF(1)
Line Input #1, txt1
Label3 = vbCrLf & txt1
Wend
Close #1'写文本到文件
txt1 = Label3 & Enter & InfoAddMoney & TextAddMoney.Text & Fengefu & InfoSubMoney & TextSubMoney.Text
Open "e:\ego_xu\test.txt" For Output As #1
Print #1, txt1
Close #1'文本存储--------------------------------------------------------------
Dim txt1 As String
Dim Enter As String
Dim InfoAddMoney As String
Dim InfoSubMoney As String
Dim Fengefu As StringEnter = vbCrLf
InfoAddMoney = "充值"
InfoSubMoney = "消费"
Fengefu = "||"
Open "e:\ego_xu\test.txt" For Input As #1
While Not EOF(1)
Line Input #1, txt1
Label3 = vbCrLf & txt1
Wend
Close #1'写文本到文件
txt1 = Label3 & Enter & InfoAddMoney & TextAddMoney.Text & Fengefu & InfoSubMoney & TextSubMoney.Text
Open "e:\ego_xu\test.txt" For Output As #1
Print #1, txt1
Close #1'文本存储--------------------------------------------------------------
不行,现在只能协议条记录了
文本存储-------------------------------------------------------------'读文本到文件
Dim txt1 As String
Dim strEnter As String
Dim InfoAddMoney As String
Dim InfoSubMoney As String
Dim Fengefu As StringstrEnter = vbCrLf
InfoAddMoney = "充值"
InfoSubMoney = "消费"
Fengefu = "||"
Open "e:\ego_xu\test.txt" For Input As #1
While Not EOF(1)
Line Input #1, txt1
Label3 = Label3.caption & txt1 & vbcrlf
Wend
Close #1'写文本到文件
txt1 = Label3 & strEnter & InfoAddMoney & TextAddMoney.Text & Fengefu & InfoSubMoney & TextSubMoney.Text
Open "e:\ego_xu\test.txt" For Output As #1
Print #1, txt1
Close #1