http://www.d4e.org/attachment.php?attachmentid=88041
你的这个连接进不去啊,得不到东西,要不然试一下。
你的这个连接进不去啊,得不到东西,要不然试一下。
解决方案 »
- VB 关键字 搜索新闻链接
- Daterefer 时间控件 出错
- 关于4byte和float转换的问题.
- 如何让图片滚动显示
- 怎样处理这个问题 Object variable or with block variable not set 急在线等!!!
- ADO编程(较简单的问题)
- 一个小问题,是“虾”的请进——满分100
- 在VB中,如何用Open打开一个文件后,实现查找出某一特定的字符串?
- windows中记事本中的查找..怎样实现..查找窗口总在最前..怎样增加信誉值..(分,我来了)为什摸信誉值是110,前一段时间还不是..
- 用什么方法获取当前鼠标的坐标?急,急,急!
- 发布数据库系统出现的问题!
- 程序SETUP后,第一个页面老是最小化.
Private UserCancel As Boolean
Private Sub Form_Load()
Command1.Caption = "开始"
Command2.Caption = "停止"
Text1.Text = "模板文件名"
Text2.Text = "查找文件夹"
End Sub
Private Sub Command2_Click()
UserCancel = True
End Sub
Private Sub Command1_Click()
Dim hd(63) As Byte, Fn As Long, path As String, s As String
If Dir(Text1.Text) = "" Then Exit Sub
Command1.Enabled = False
UserCancel = False
Fn = FreeFile
Open Text1.Text For Binary As #Fn
Get #Fn, , hd
Close #1
path = Text2.Text
If Right$(path, 1) = "\" Then path = Left$(path, Len(path) - 1)
s = Dir(path & "\*.wav")
Do While s <> ""
Open Text2.Text & "\" & s For Binary As #Fn
Put #Fn, , hd
Close #Fn
DoEvents
If UserCancel Then Exit Do
s = Dir()
Loop
Command1.Enabled = True
End Sub
Open Text2.Text & "\" & s For Binary As #Fn
换成
Open path & "\" & s For Binary As #Fn