扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
Private Sub Command1_Click()
Dim sTmp As String
Dim strfix As String
Dim i As Integer
Dim yy As String
CommonDialog1.ShowOpen
sTmp = CommonDialog1.FileName
If Len(sTmp) = 0 Then Exit Sub
For i = 1 To Len(sTmp)
strfix = Mid(sTmp, i, 1)
If strfix = "\" Then
strfix = "/"
End If
yy = yy & strfix
Next i
sTmp = "File://" & yy
lstItems.AddItem sTmp
end sub
Private Sub Command2_Click()
Dim s As Integer
CommonDialog1.DialogTitle = "输入要保存的RM文件"
CommonDialog1.Filter = "RealPlayer播放列表(*.RM)|*.RM"
CommonDialog1.ShowSave
If Len(CommonDialog1.FileName) = 0 Then
Exit Sub
End If
Open CommonDialog1.FileName For Output As #1
For s = 0 To Me.lstItems.ListCount - 1
Print #1, Me.lstItems.List(s)
Next s
realaudio.source=commondialog.filename
realaudio.doplay
End Sub
Private Sub Form_Load()
realaudio1.controls="imagewindow"
End Sub
如加上删除或移动文件,增加一些,修改一点,并可实现呀!
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者