التنبيهات التالية ظهرت :
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 864 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 864 errorHandler->error



تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
كيفية تشغيل فيديو باستخدام Api ومكتبة Mmsystem.dll
#1
كاتب الموضوع : AhmedEssawy

الكود منقول ومشروع ضمن الخطوات :
http://www.vbexplorer.com/VBExplorer...bs_ms.asp#tip3


كود :
Here's how to play an .AVI file via API

' Declare this API:

Declare Function mciSendString& Lib "MMSYSTEM" (ByVal pstrCommand$,
ByVal lpstrReturnStr As Any, ByVal wReturnLen%, ByVal CallBack%)

'Add this code to the appropriate event:

Dim CmdStr$
Dim ReturnVal&

' Modify path and filename as necessary
CmdStr$ = "play G:\VFW_CINE\AK1.AVI"
ReturnVal& = mciSendString(CmdStr$, 0&, 0, 0&)

' To play the AVI 'fullscreen' append to CmdStr$:

CmdStr$ = "play G:\VFW_CINE\AK1.AVI fullscreen"
}}}
تم الشكر بواسطة:


الردود في هذا الموضوع
كيفية تشغيل فيديو باستخدام Api ومكتبة Mmsystem.dll - بواسطة Raggi Tech - 17-10-12, 12:52 AM


التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم