play avi file u vb

play avi file u vb

offline
  • Pridružio: 11 Feb 2006
  • Poruke: 166
  • Gde živiš: Loznica

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



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
Ko je trenutno na forumu
 

Ukupno su 460 korisnika na forumu :: 47 registrovanih, 3 sakrivenih i 410 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 1383 - dana 12 Jan 2016 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: 11neco11, 4channer, aleksandraaca97, ANTIBODY, bato3, carpbuster, cikadeda, comi_pfc, cvrle312, dozorni, draggan, ekvador13, filiphr, hermann.kottmann, igorkuraj, ilidan, Ingrutin, Irbis, JOntra2, justkidding74, kenny74, krkalon, ljupcoveselinov, ltcolonel, m0nstrum_, meyconi, MidnighT_AlieN, mikki jons, msta, Pikac, raskoljnikov, ruso, Singidunumac, sparkyvr, Springfield, Srki94, Srđan Bukvić, stalker2, StepskiVuk, theNedjeljko, trajkoni018, vathra, VJ, vukovi, wolf431, Yuhuuuuuu, zoxknez