Reputation:
I am in need of a component or control that can read a DVD and play it back either on the current window, on another window, or in an arbitrary position on-screen (to be indicated programmatically). There do not need to be any user-visible controls on it; the app will handle that separately. Where do I need to turn?
FYI, I'm using .Net 3.5 in a winforms application.
I feel like I'm probably missing something simple, but it is escaping me. ;-)
-- afward
Upvotes: 1
Views: 3016
Reputation: 11
Embed the windows media control to your window. Here is the c# code : http://msdn.microsoft.com/en-us/library/dd562851(v=vs.85).aspx
Upvotes: 1
Reputation: 104721
Using an embedded media player control is a very good idea.
you might also wanna take a look at: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=3215&lngWId=10
Upvotes: 0
Reputation: 18477
You can use a Windows Media Player control. The example is in VB.NET, but you should be able to translate very easily.
http://msdn.microsoft.com/en-us/library/dd562852(VS.85).aspx
Upvotes: 3