Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RUN does not work
Message
De
08/06/2006 12:46:36
 
 
À
08/06/2006 11:07:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows NT
Divers
Thread ID:
01127845
Message ID:
01127888
Vues:
12
Can you try something like:
DECLARE INTEGER ShellExecute IN "shell32.dll";
   INTEGER hwnd,;
   STRING  @ lpOperation,;
   STRING  @ lpFile,;
   STRING  @ lpParameters,;
   STRING  @ lpDirectory,;
   INTEGER nShowCmd
ShellExecute( 0, "open", "c:\windows\notepad.exe", "c:\temp\test.txt", "", 1 )
>I have a customer using WIN NT and the RUN or ! command will not work. I even had him copy c:\winnt\system32\cmd.exe and command.com to his starting folder, but even a statement like
>!cmd.exe
>gets a file not found. Statements like
>!pkzip25.exe
>just flash a black screen. I had him check his starting folder and PKZIP25 is there! My system, using WIN98 and all my other customers do not have this problem. Any suggestions?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform