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 778 korisnika na forumu :: 81 registrovanih, 11 sakrivenih i 686 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

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

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: _Sale, Acid_Burn, airsuba, aljosa7, Areal84, Arhiv, bios1, boolero, botest, bozomotika, bulovic, Cvijo_ue, Dekulica, Detective, dozorni, Drug pukovnik, Dzoni Stek, exluppis, francis begbie, Gama, Georgius, goran.vvv, Ilija Cvorovic, indja2, Ingrutin, ivan979, ivo.jozinovic, izida, Jethro, kalens021, KUZMAR, ljupcoveselinov, lord sir giga, m4rk0, madza2, maiden6657, Marko Marković, Marko-Ana Djordjevic, menges, Mercury, Metanoja, Nemanja Opalić, nenad81, nfific, nikolaSrb, panonski mornar2, panzerwaffe, pavle_pzs, Phalcon, powSrb, pquanah, purke622, Reddot, rovac, ruger357, ruseskij, Sall, sdj, skillex, Skywhaler, smiks63, Snorks, Stefan Nikolić, svarun, T-72, TheGrobarcina, theNedjeljko, Toni, trajkoni018, ujkozavlanje, Velibor Rado, Viceroy2, VJ, voja64, vukowarac, zlatkovuka, zoka2, zola92, zorpetus, zziko, 1107