FadeDude
asked on
VB.net embedded resources (embed video and play with media player)
Hi, ok heres the deal....
I want to embedd a video in my vb.net app and then be able to play it.
I got as far as just adding the file (lesson1.mpg) to the project and in its propperties
specifying that it should be treated as an embedded resource.
Now how do I access it so i can play it in a windows media player control?
I've tried numerous ways from searching on google but with no success.
Eventually I want to have something like:
mediaplayer1.file = lesson1.mpg
mediaplayer1.play
I want to embedd a video in my vb.net app and then be able to play it.
I got as far as just adding the file (lesson1.mpg) to the project and in its propperties
specifying that it should be treated as an embedded resource.
Now how do I access it so i can play it in a windows media player control?
I've tried numerous ways from searching on google but with no success.
Eventually I want to have something like:
mediaplayer1.file = lesson1.mpg
mediaplayer1.play
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I must say tho, I like the end of stream part for the media player control.... that will earn you your points.. thanks.
ciao