There are probably other methods. But I use the following:
DECLARE INTEGER ShellExecute IN shell32.dll ;
INTEGER hndWin, ;
STRING cAction, ;
STRING cFileName, ;
STRING cParams, ;
STRING cDir, ;
INTEGER nShowWin
cYouTubeURL = "https://www.youtube.com/watch?v=DFDFDFD=178s"
cAction = "open"
ShellExecute(0,cAction,cYouTubeURL,"","",1)
HTH
>I created a tutorial video and posted it on youtube.com, that says the link is
https://www.youtube.com/watch?v=_abcdefg>
>In my program, I add a button, when the client clicks it, it will open up the browser and play the video. is that possible to do that?
>
>Thanks for the help
>
>Jerry
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham