我想播放三个文件。初始化三个播放控件MMcontrol:MMPlay,MMPlay1,MMPlay2.三个控件都是enable的。为什么最后一个会变成灰色的。
代码如下:'初始化三个播放器
MovFile1 = App.Path & ReadWriteINI(sFileName, "get", "播放文件", "PlayMov1")
If MovFile1 <> "" Then
MMPlay.FileName = MovFile1
MMPlay.Command = "open"
Call StopMovie
End If
MovFile2 = App.Path & ReadWriteINI(sFileName, "get", "播放文件", "PlayMov2")
If MovFile2 <> "" Then
MMPlay1.FileName = MovFile2
MMPlay1.Command = "open"
Call StopMovie
End If
MovFile3 = App.Path & ReadWriteINI(sFileName, "get", "播放文件", "PlayMov3")
If MovFile3 <> "" Then
MMPlay2.FileName = MovFile3
MMPlay2.Command = "open"
Call StopMovie
End If
很着急啊。。。。。
补充:VB , 基础类