|
-
Nov 23rd, 2001, 09:54 PM
#1
Thread Starter
Lively Member
.avi
I keep getting an error when I try to use media player to play a video (possibly because I am on ME). Is it possible to play a video in a specific window using an API call. If so, how would I go about it... Video is a new area for me so be as specific as possible.
To Seek is to start on the never ending road to wisdom. To fail to seek, the path to death.
-
Nov 24th, 2001, 02:07 AM
#2
Fanatic Member
hi
Use animation control in VB
and give the file name to be played ( avi format)
-
Nov 24th, 2001, 02:14 AM
#3
Conquistador
-
Nov 24th, 2001, 02:17 AM
#4
Fanatic Member
but if he does a shell execute then it would open in a default player.. and it will be media player in his case..
so he can use vb control ( micrisoft windows common control )
-
Nov 24th, 2001, 07:22 AM
#5
Thread Starter
Lively Member
Talk?
If a shell execute would allow me to specifiy the window location, I'm game. What I want is something that will work. And for all your guys talk... I don't see one bit that is specific.
To Seek is to start on the never ending road to wisdom. To fail to seek, the path to death.
-
Nov 24th, 2001, 11:01 AM
#6
Conquistador
this is actually a small thread 
Where did you want to position the media player?
-
Nov 24th, 2001, 11:09 AM
#7
Thread Starter
Lively Member
Position?
Ideally the media player would be placed on a form, the form which I could move around or resize.
Truthfully, there are a number of players that I will need to be going at once. But I can't even get one to runing. I can't figure out the problem...
Run-time error '-2147467259 (80004005)':
Method 'Play' of object 'IMediaPlayer2' failed
Of course, this is with the MediaPlayer OCX (MSDXM.OCX). I was hoping that I could get the same effect out of an api, thus avoiding that entire issue.
To Seek is to start on the never ending road to wisdom. To fail to seek, the path to death.
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
|