Click here to Skip to main content
15,903,012 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Launching a program according to file extension Pin
David Crow24-Oct-05 7:12
David Crow24-Oct-05 7:12 
GeneralRe: Launching a program according to file extension Pin
sergeyv200224-Oct-05 8:55
sergeyv200224-Oct-05 8:55 
Questionautomation in mfc Pin
FarPointer24-Oct-05 5:41
FarPointer24-Oct-05 5:41 
AnswerRe: automation in mfc Pin
Mircea Puiu24-Oct-05 7:11
Mircea Puiu24-Oct-05 7:11 
GeneralRe: automation in mfc Pin
FarPointer24-Oct-05 7:19
FarPointer24-Oct-05 7:19 
GeneralRe: automation in mfc Pin
Mircea Puiu24-Oct-05 8:08
Mircea Puiu24-Oct-05 8:08 
GeneralRe: automation in mfc Pin
FarPointer24-Oct-05 17:23
FarPointer24-Oct-05 17:23 
AnswerRe: automation in mfc Pin
David Crow24-Oct-05 9:14
David Crow24-Oct-05 9:14 
QuestionMicrosoft to Enter Market for Business Intelligence Pin
vikas amin24-Oct-05 5:15
vikas amin24-Oct-05 5:15 
QuestionCOM Running Object Table entry to communicate with other process Pin
Ranjish24-Oct-05 5:04
Ranjish24-Oct-05 5:04 
QuestionWhat is a LinkCollection? Pin
Alex Cutovoi24-Oct-05 4:00
Alex Cutovoi24-Oct-05 4:00 
QuestionHow to format an ATA flash card in Visual C++ Pin
tieng8624-Oct-05 3:44
tieng8624-Oct-05 3:44 
QuestionLauncing video using a browser Pin
LCI24-Oct-05 3:35
LCI24-Oct-05 3:35 
QuestionRe: Launcing video using a browser Pin
David Crow24-Oct-05 3:58
David Crow24-Oct-05 3:58 
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 

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.