Click here to Skip to main content
15,915,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionunhandled win32 exception occurred..?? Pin
krishnaram_198315-Jun-10 19:34
krishnaram_198315-Jun-10 19:34 
AnswerRe: unhandled win32 exception occurred..?? Pin
Cedric Moonen15-Jun-10 20:13
Cedric Moonen15-Jun-10 20:13 
GeneralRe: unhandled win32 exception occurred..?? Pin
Niklas L15-Jun-10 20:25
Niklas L15-Jun-10 20:25 
AnswerRe: unhandled win32 exception occurred..?? Pin
_AnsHUMAN_ 16-Jun-10 0:27
_AnsHUMAN_ 16-Jun-10 0:27 
AnswerRe: unhandled win32 exception occurred..?? Pin
Aescleal16-Jun-10 6:54
Aescleal16-Jun-10 6:54 
QuestionHow to play Windows Media Player in VC++.NET Pin
shiv@nand15-Jun-10 19:31
shiv@nand15-Jun-10 19:31 
GeneralRe: How to play Windows Media Player in VC++.NET Pin
Cool_Dev15-Jun-10 19:47
Cool_Dev15-Jun-10 19:47 
GeneralRe: How to play Windows Media Player in VC++.NET [modified] Pin
Destiny7775-Apr-11 9:06
Destiny7775-Apr-11 9:06 
I too am looking to do the same thing in an existing large Visual Studio 2005 MFC C++ Application.
- Have added the Windows Media Player Control but can't seem to find the way at runtime to add a URL to point to a local file or point to an http:// Address.

So some details would be helpful for the person that originally asked the question and those that are looking for similar answers.

In a Visual Studio 2005 C# project it is very simple to do... just add the Windows Media Player Control to the form. Call the Control "MediaPlayer". Then in your code set the URL to a file or a http:// value as needed.

// Set the media to be played by our Windows Media Player Control on our C# Form
MediaPlayer.URL = "C:\Windows\Media\FileToBePlayed.avi";


It is quite a bit different in Visual Studio 2005 MFC C++... the Windows Media Player Control objects that are exposed in C# are not exposed in C++... perhaps there is something that got missed along the way.

My search goes on...

Suspicious | :suss:


-- Modified Tuesday, April 5, 2011 3:48 PM

Questioncopy a registry value to another value Pin
pubis15-Jun-10 16:07
pubis15-Jun-10 16:07 
AnswerRe: copy a registry value to another value Pin
«_Superman_»15-Jun-10 18:26
professional«_Superman_»15-Jun-10 18:26 
GeneralRe: copy a registry value to another value Pin
pubis16-Jun-10 4:26
pubis16-Jun-10 4:26 
GeneralRe: copy a registry value to another value Pin
«_Superman_»16-Jun-10 18:50
professional«_Superman_»16-Jun-10 18:50 
GeneralRe: copy a registry value to another value Pin
pubis17-Jun-10 4:00
pubis17-Jun-10 4:00 
AnswerRe: copy a registry value to another value Pin
pubis16-Jun-10 7:58
pubis16-Jun-10 7:58 
QuestionLarge Object Creation Pin
Baltoro15-Jun-10 13:06
Baltoro15-Jun-10 13:06 
AnswerRe: Large Object Creation Pin
Stephen Hewitt15-Jun-10 14:05
Stephen Hewitt15-Jun-10 14:05 
AnswerRe: Large Object Creation Pin
T210215-Jun-10 21:36
T210215-Jun-10 21:36 
AnswerRe: Large Object Creation Pin
Aescleal16-Jun-10 6:35
Aescleal16-Jun-10 6:35 
AnswerThanks for Information Pin
Baltoro16-Jun-10 13:53
Baltoro16-Jun-10 13:53 
QuestionMSMQ Events in 64 Bit Windows 2003 Server Pin
Hariharan.T15-Jun-10 11:13
Hariharan.T15-Jun-10 11:13 
QuestionDrawing a polygon onto a DIB? Pin
Kiran Satish15-Jun-10 6:47
Kiran Satish15-Jun-10 6:47 
AnswerRe: Drawing a polygon onto a DIB? PinPopular
CPallini15-Jun-10 7:15
mveCPallini15-Jun-10 7:15 
Questionplotting in vc++ [modified] Pin
b-rad31115-Jun-10 5:03
b-rad31115-Jun-10 5:03 
AnswerRe: plotting in vc++ Pin
Maximilien15-Jun-10 6:40
Maximilien15-Jun-10 6:40 
GeneralRe: plotting in vc++ Pin
b-rad31115-Jun-10 7:12
b-rad31115-Jun-10 7:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.