ovaj kod sam skinuo na
support.microsoft.com/kb/171981
Private Declare Function mciSendString Lib "winmm.dll" Alias _
"mciSendStringA" (ByVal lpstrCommand As String, ByVal _
lpstrReturnString As Any, ByVal uReturnLength As Long, ByVal _
hwndCallback As Long) As Long
Sub Command1_Click()
'// --- Modify FILE_TO_OPEN constant as appropriate ---
' Const FILE_TO_OPEN = "C:\winnt\clock.avi"
Const FILE_TO_OPEN = "D:\Filmovi\MrBeen\been1.avi"
Dim strCmdStr As String
Dim lngReturnVal As Long
strCmdStr = "play " & FILE_TO_OPEN & " fullscreen "
lngReturnVal = mciSendString(strCmdStr, 0&, 0, 0&)
End Sub
winmm.dll postoji ali se nista ne desava ne izbacuje ni gresku
sta je problem
|