hitcgar
Aug 15th, 2000, 11:38 AM
I'm using the following code to play an avi file in a picture box:
ret = mciSendString("open " & A$ & " type avivideo alias movie parent " & Picture1.hWnd & " style child", RS, 128, cb)
However, when the avi is compressed the device won't open and error number 296 is returned (...file can't be opened...).
Any clues as to whether this is normal or if there is a way to configure this so it will play compressed video?
I know I can do this real easy with a mediaplayer control but I'm using a picturebox so I can get it's handle easily and play the control as an elliptical region.
Thanks.
ret = mciSendString("open " & A$ & " type avivideo alias movie parent " & Picture1.hWnd & " style child", RS, 128, cb)
However, when the avi is compressed the device won't open and error number 296 is returned (...file can't be opened...).
Any clues as to whether this is normal or if there is a way to configure this so it will play compressed video?
I know I can do this real easy with a mediaplayer control but I'm using a picturebox so I can get it's handle easily and play the control as an elliptical region.
Thanks.