Click here to Skip to main content
15,889,462 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Launcing video using a browser Pin
LCI24-Oct-05 4:18
LCI24-Oct-05 4:18 
QuestionRe: Launcing video using a browser Pin
David Crow24-Oct-05 4:31
David Crow24-Oct-05 4:31 
AnswerRe: Launcing video using a browser Pin
LCI24-Oct-05 4:38
LCI24-Oct-05 4:38 
GeneralRe: Launcing video using a browser Pin
David Crow24-Oct-05 4:50
David Crow24-Oct-05 4:50 
GeneralRe: Launcing video using a browser Pin
LCI24-Oct-05 5:46
LCI24-Oct-05 5:46 
GeneralRe: Launcing video using a browser Pin
LCI24-Oct-05 5:49
LCI24-Oct-05 5:49 
GeneralRe: Launcing video using a browser Pin
David Crow24-Oct-05 7:11
David Crow24-Oct-05 7:11 
AnswerRe: Launcing video using a browser Pin
Maximilien24-Oct-05 6:40
Maximilien24-Oct-05 6:40 
LCI wrote:
I have a c++ application that i am attempting to launch a video clip that is located on a web server over a web browser.


I don't understand, you want to launch a browser with the URL pointing to the video ? or display the video in a browser inside ( from within ) your application ? or something else ?

You could use ShellExecute to launch the browser with the appropriate URL

for example :
::ShellExecute( NULL, "open", "http://www.codeproject.com", NULL, NULL, SW_SHOWNORMAL );

I think that if you put in a filename/URL with a media file type that is associated it will try to load the registered application for that file type ( or maybe will ask to save the file instead ).

if you use an htmlview class, you will ( might ?) have to create the html code to display the video inline instead of the browser trying to save as an external file.



Maximilien Lincourt
Your Head A Splode - Strong Bad
GeneralRe: Launcing video using a browser Pin
LCI24-Oct-05 7:33
LCI24-Oct-05 7:33 
GeneralRe: Launcing video using a browser Pin
Maximilien24-Oct-05 8:47
Maximilien24-Oct-05 8:47 
QuestionHow to debug memory leaks in MFC program Pin
aloktambi24-Oct-05 3:31
aloktambi24-Oct-05 3:31 
AnswerRe: How to debug memory leaks in MFC program Pin
Ravi Bhavnani24-Oct-05 3:37
professionalRavi Bhavnani24-Oct-05 3:37 
AnswerRe: How to debug memory leaks in MFC program Pin
toxcct24-Oct-05 3:40
toxcct24-Oct-05 3:40 
AnswerRe: How to debug memory leaks in MFC program Pin
Cedric Moonen24-Oct-05 3:58
Cedric Moonen24-Oct-05 3:58 
Question840802 - custom controls in a property page Pin
ilostmyid224-Oct-05 3:27
professionalilostmyid224-Oct-05 3:27 
QuestionPrevent Mouse Movement. Pin
Storm-blade24-Oct-05 3:02
professionalStorm-blade24-Oct-05 3:02 
AnswerRe: Prevent Mouse Movement. Pin
vikas amin24-Oct-05 4:26
vikas amin24-Oct-05 4:26 
GeneralRe: Prevent Mouse Movement. Pin
Storm-blade24-Oct-05 4:31
professionalStorm-blade24-Oct-05 4:31 
QuestionHow to use DDX with ComboBox Pin
vikas amin24-Oct-05 2:29
vikas amin24-Oct-05 2:29 
AnswerRe: How to use DDX with ComboBox Pin
David Crow24-Oct-05 3:18
David Crow24-Oct-05 3:18 
GeneralRe: How to use DDX with ComboBox Pin
vikas amin24-Oct-05 4:10
vikas amin24-Oct-05 4:10 
GeneralRe: How to use DDX with ComboBox Pin
David Crow24-Oct-05 4:28
David Crow24-Oct-05 4:28 
QuestionAbout "Specstrings.h", Please help! Pin
chenxiujie24-Oct-05 2:26
chenxiujie24-Oct-05 2:26 
Questionassembly coding for Hufman coding Pin
vikas amin24-Oct-05 2:23
vikas amin24-Oct-05 2:23 
AnswerRe: assembly coding for Hufman coding Pin
toxcct24-Oct-05 2:51
toxcct24-Oct-05 2:51 

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.