Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run /n music.m3u
Message
De
25/08/2002 18:22:04
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00693412
Message ID:
00693484
Vues:
20
Thnaks alot!
Peter


>You've to declare function first.
DECLARE INTEGER ShellExecute IN "Shell32.dll" ;
>    INTEGER hwnd, ;
>    STRING lpVerb, ;
>    STRING lpFile, ;
>    STRING lpParameters, ;
>    STRING lpDirectory, ;
>    LONG nShowCmd
>lcList = "Music.m3u"
>?Shellexecute(0,"Open",lcList,"","",1)
>You can also use WSH
oShell = CREATEOBJECT( "Wscript.Shell" )
>lcList = "Music.m3u"
>oShell.Run(lcList)
>
>
>>Don't I need to create an object first?
>>Peter
>>
>>
>>>You can use ShellExecute Win Api function.
lcList = "Music.m3u"
>>>?Shellexecute(0,"Open",lcList,"","",1)
>>>
Peter Cortiel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform