Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hyperlink to youtube
Message
 
 
À
30/11/2020 15:30:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
01677337
Message ID:
01677340
Vues:
66
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform