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 827 korisnika na forumu :: 88 registrovanih, 9 sakrivenih i 730 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 1567 - dana 15 Jul 2016 20:18

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: aramis s, babaroga2, Blagojević Mlađan, bounty hunters, boyce, Browning_Baby, cincarin, djboj, djuro1973, Doca, doom83, Dorcolac, dozorni, Dusan Medojevic, dzenan_y, exluppis, Gargantua, goran.vvv, ibssa, ikan, ivan979, JOntra, Klecaviks, kolateralnasteta, komkom, Korapg, Kubovac, Libertas2, Ljilja Hnovi, LUDI, Luka Muka, maiden6657, MarKhan, markolopin, Markoni30, MB120mm, Megapurpletv, Mercury, messerschmitt, Mi-24, micoboj, milimoj, MILO-VAN, milos7160, moldway, munzeco, nebojsag, NenadG, nextyamb, NIx Car, Nomenklatura, novator, ok, ostoja, pandur, panzerwaffe, pavle_pzs, powSrb, proka89, purke622, Pyc38, rado2, radoznao, ray ban11, Recce, Regrut Boskica, Revolucion, rodoljub2, rovac, sakota79, scimitar19, Shomy2, shone34, slonic_tonic, Snorks, Srki94, T-72, theNedjeljko, Toni, Trifko Grabez, vasa.93, vathra, VJ, Vlada1389, voja64, weez, White Knight, yamato