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:
01434511
Vues:
48
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform