|
-
Mar 15th, 2001, 02:02 PM
#1
Thread Starter
Addicted Member
how can i display and Avi movie file?
Tell whoever has sorrow,
Grief shall never last
Just as joy has no tommorow,
Woe is bound not to last
 Estrelitta 
-
Mar 16th, 2001, 10:35 PM
#2
Lively Member
place the Microsoft Media Control on your form. Place a picture box on your form...
'set the picture box to accept the avi file
MMControl1.hWndDisplay = Picture1.hWnd
'let the media control know what it is going to play
MMControl1.DeviceType = "AVIVideo"
'specify the file to open
MMControl1.FileName = "C:\WINNT\clock.avi"
'open the control
MMControl1.Command = "OPEN"
'now play the file
MMControl1.Command = "PLAY"
Make sure you close the control when complete. To close it:
MMControl1.Command = "Close"
-
Mar 18th, 2001, 02:21 PM
#3
Thread Starter
Addicted Member
hello there
how can i resize the the picture box to the right size of the movie, i tried using autosize property but during runtime the size of the picture box was still the same, with a part of it blank and the other part with like half the movie screen
Tell whoever has sorrow,
Grief shall never last
Just as joy has no tommorow,
Woe is bound not to last
 Estrelitta 
-
Mar 18th, 2001, 09:11 PM
#4
Lively Member
-
Mar 19th, 2001, 02:51 PM
#5
Thread Starter
Addicted Member
thxxxxxxxxxxxxx a lot, that was just exactly what i wanted
Tell whoever has sorrow,
Grief shall never last
Just as joy has no tommorow,
Woe is bound not to last
 Estrelitta 
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
|