|
Thread: Avi
-
Jan 7th, 2006, 02:11 PM
#1
Thread Starter
New Member
Avi
Hey guys,,
I have an AVI file I wanna play it within the form ...
I knew how to play it outside the form ,,,
Help me plz
-
Jan 7th, 2006, 03:12 PM
#2
Member
Re: Avi
Avi
--------------------------------------------------------------------------------
Hi,
So aplly control Windows Media Player or API function mciSendstring, but WMP is better.
EXAMPLE
---------
'Insert in form control WindowsMedia
Private Sub Form_Load()
wmp.uiMode = "none"
wmp.URL = FileName
wmp.Controls.play
End Sub
Private Sub Form_Resize()
wmp.Width = Me.Width
wmp.Height = Me.Height
End Sub
-
Jan 7th, 2006, 06:51 PM
#3
Fanatic Member
Re: Avi
if using a windows media player control as salcman.vladimir said try this
VB Code:
'asssuming your windows media player control is called wmp
private sub Command1_click()
wmp.URL= "path of Avi Here"
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|