🔒 Closed Last na help na promise

Status
Not open for further replies.

PatoGaming

Leecher
Pano makakapagplay ng video sa form na di gumagamit ng url?
If ginawa ko ng kasing exucatable yung project di po nag pla play yung video

Anu po kayang syntax pwedeng gamitin?
 
gumamit k ng media player control meron yun sa visual studio. ang alam ko i add mo pa ung component niya di pa sya nsa default tools.
 
Eto. Visual Basic sa thesis namin.

Pa test na lang if ever. VB 2010.

PHP:
Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long
 
Private Sub Form_Click()
Dim Ret As Long, A$, x As Integer, y As Integer
    x = 0
    y = 0
    A$ = "C:\Windows\Movie.avi" 'PALITAAN NG DIRECTORY AND PANGALAN NG FILE'
    Ret = mciSendString("stop movie", 0&, 128, 0)
    Ret = mciSendString("close movie", 0&, 128, 0)
    Ret = mciSendString("open AVIvideo!" & A$ & " alias movie parent " & Form1.hWnd & " style child", 0&, 128, 0)
    Ret = mciSendString("put movie window client at " & x & " " & y & " 0 0", 0&, 128, 0)
    Ret = mciSendString("play movie", 0&, 128, 0)
End Sub
 
Private Sub Form_Terminate()
Dim Ret As Long
    Ret = mciSendString("close all", 0&, 128, 0)
End Sub
 
Status
Not open for further replies.

About this Thread

  • 8
    Replies
  • 652
    Views
  • 8
    Participants
Last reply from:
oboyzone

Trending Topics

Online now

Members online
406
Guests online
963
Total visitors
1,369

Forum statistics

Threads
2,273,074
Posts
28,947,423
Members
1,236,587
Latest member
kaka121
Back
Top