| 发表于:2007-08-16 19:17:16 楼主 |
小菜正在学习vb, 当看到一小段程序时,不太理解其中的含义,具体是这样: private sub command1_click() dim strfile as string dim whole as integer open "d:\11.txt " for input as #1 do while not eof(1) line input #1, strfile -------- 这两处不是很明白,line什么意思?为何不能直接 whole = whole + strfile ------- 把11.txt赋值给text? loop text1.text = whole end sub 还有请问: 如何 部件中已选择了 控件windowsmediaplayer1后写程序来播放自己想播放的影音文件呢? |
|
|
|
|