Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run /n music.m3u
Message
From
25/08/2002 18:22:04
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00693412
Message ID:
00693484
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform