Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hyperlink to youtube
Message
 
 
To
30/11/2020 15:30:44
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
01677337
Message ID:
01677340
Views:
65
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

DFDFDFD=178
_abcdefg >
"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
Previous
Reply
Map
View

Click here to load this message in the networking platform