ª©¤j ¥i¥H½Ð±Ð¤@¤U¶Ü??G¤j
§Ú³o¬Ovba¼·©ñªºcode,¬°¦ó¦bwin10 office2016¤UµLªk°õ¦æ,¨ä¥L³£¥i¥H°õ¦æ, ¬Ovbaª©¥»°ÝÃD¶Ü??ÁÙ¬O¨t²Î°ÝÃD
Private Sub CommandButton2_Click()
Dim strNAME, strPATHNAME As String
strPATHNAME = Sheets(2).Cells(1, 3)
strNAME = Label2.Caption & ".mp4"
With WindowsMediaPlayer2
.Visible = True
.URL = strPATHNAME & strNAME
.stretchToFit = True
End With
WindowsMediaPlayer2.Width = 285
WindowsMediaPlayer2.Height = 258
WindowsMediaPlayer2.Controls.Play
Find = 0
totalTime = 0
hTimer = SetTimer(0, 0, 1000, AddressOf TimerProc)
End Sub |