Solved

Play Video in Visual C++ .NET

Posted on 2004-10-10
4
391 Views
Last Modified: 2013-11-25

Currently i'm developing a video album using Visual C++ .NET form. A user can create a new album and add any video files (i.e AVI) to the album, and view it in the form. So, i'm just wondering how can I play a video files in the form that I created. Any sample code would be great. Thanks in advance.
0
Comment
Question by:fhmat19
  • 2
  • 2
4 Comments
 
LVL 6

Expert Comment

by:Svetlin_Panayotov
ID: 12271935
0
 

Author Comment

by:fhmat19
ID: 12273401
I believed that the program from that link is using MFC. Is it possible for me to combine it with my program, which using Form under .NET environment.
0
 
LVL 6

Accepted Solution

by:
Svetlin_Panayotov earned 500 total points
ID: 12274058
Well - this won't compile with your Windows Forms app - but if you take a look at the source (EasyPlayer.cpp) - you'll have at least some reference on how to use MCI.
There's also good article on how to port MFC controls to Windows Forms - again Code Project - http://www.codeproject.com/managedcpp/mfcandwindowsforms.asp

I also forgot to mention the other way around - just use media player as ActiveX control - right click on your toolbox, select add/remove items and in the COM tab find media player.The control is really easy to use.
0
 

Author Comment

by:fhmat19
ID: 12275282
Yeah, I think I just gonna use the Windows Media Player thing. It seems easier. Thanks man.....
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question