关于文件打开 我有一个文件1.txt里面有三行数据aaaabbbccc如何通过程序用循环的方式读取谢谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Dim i as IntegerDim strArry[1 to 3] as Stringi=1Open "1.txt" For Input As #1 Do While Not EOF(1) Line Input #1, strArry[i] i=i+1 LoopClose #1 dim strTmp as stringOpen "c:\1.txt" for input as #1while not eof(1) line input #1,strTmp debug.Print strTmpwendclose #1 如何更改注册表键值 在线等候 新手入门!!RadioButton中chenked的问题!!! 公司付费急求自定义报表功能,要求能自动发邮件转其他格式,能让客户自己修改。 如何得到某一文本框中的行数? 如何做“帮助文件”?谢谢! 请问在vb中ii&变量是甚么类型?怎么用?在线等。。。。。 关于SQL SERVER数据库的超莱问题? 求助!? 请问如何在Activex dll中调用图表之类的控件 怎么才能混上版主? mshflexgrid控件中行的颜色问题? 帮帮我吧..
Dim strArry[1 to 3] as Stringi=1
Open "1.txt" For Input As #1
Do While Not EOF(1)
Line Input #1, strArry[i]
i=i+1
Loop
Close #1
while not eof(1)
line input #1,strTmp
debug.Print strTmp
wend
close #1