Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open Directory in Prominent Window
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01434507
Message ID:
01434515
Vues:
46
>I have a somewhat flat learning curve - sorry. I'll catch on eventually.
>
>I have extracted something in my collection of codes that works fine - seems a little shorter that sergey's:
>
>#DEFINE SW_SHOWNORMAL 1
>lcUrl = "c:\mydir"
>oShell = Createobject("wscript.shell")
>oShell.Run(lcUrl)
>DECLARE INTEGER ShellExecute IN "Shell32.dll" ;
> INTEGER hwnd, STRING lpVerb, STRING lpFile, ;
> STRING lpParameters, STRING lpDirectory, LONG nShowCmd
>ShellExecute(0, "Open", lcUrl, "", "", SW_SHOWNORMAL)
>
>k

It is the same code.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform