Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Positioning window
Message
De
11/01/2017 09:42:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01646490
Message ID:
01646515
Vues:
66
your scripting code dont run at all ! even for "c:\" folder or .( or program files) even with administrator privelege
you use a slash char as web notation (its "\" and not "/")...note it can be accepted with explorer

instead you can use shellexecute API. for opening a file.
&&shellexecute
DECLARE INTEGER ShellExecute IN SHELL32.DLL INTEGER nWinHandle,;
                                            STRING cOperation,;
                                            STRING cFileName,;
                                            STRING cParameters,;
                                            STRING cDirectory,;
                                            INTEGER nShowWindow

result = ShellExecute(0, "open", "full path to your PCL file","","",1)
can use getDir for browsing a folder and returning its name.

i suppose you want to execute the explorer.exe and position it on the desktop ?
1.running explorer is simple with vfp:
run/N explorer
2. positionning the explore window (or any window) on desktop :i can give you a code for that...please confirm me first is that what you want ?.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform